tests:audioconvert: Fix integer overflow build error
authorVineeth TM <vineeth.tm@samsung.com>
Mon, 18 Jan 2016 02:40:36 +0000 (11:40 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 19 Jan 2016 07:56:25 +0000 (09:56 +0200)
commit2aabbc2163336f738d9ee3cbb32e5b5604a95676
tree2106ba2b9c5967a6333b85dd27bbf928b10b5784
parent91084f49c008e7e6c5a72c66701a02d24e22eb9b
tests:audioconvert: Fix integer overflow build error

value of 32768L << 16 and 1L << 31 is 2147483648
but it exceeds the positive range of int which is 2147483647
resulting in integer overflow error. Use G_GINT64_CONSTANT instead of L.

https://bugzilla.gnome.org/show_bug.cgi?id=760769
tests/check/elements/audioconvert.c