[libgens/tests] AudioWriteTest_data.c: Ignore MSVC warning C4146.
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Wed, 2 Sep 2015 00:40:31 +0000 (20:40 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Wed, 2 Sep 2015 00:40:31 +0000 (20:40 -0400)
commitb17eb69cf014ba1c648a30e1c2bc0fcacb08f6bc
treed498d40748b4fdc9bd7121f2bcccb722a10bd088
parent1bf8b256076a90a9637c52910d47c01a648b6d0e
[libgens/tests] AudioWriteTest_data.c: Ignore MSVC warning C4146.

MSVC complains that some values have a negative sign but end up
overflowing the data type, e.g. -0x80000000. This is expected,
so disable the warning.

This fixes the following compiler warnings on MSVC 2010:

src\libgens\tests\sound\AudioWriteTest_data.c(33) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
src\libgens\tests\sound\AudioWriteTest_data.c(236) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
src/libgens/tests/sound/AudioWriteTest_data.c