diff options
author | James Zern <jzern@google.com> | 2013-02-27 13:16:03 -0800 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2013-03-05 09:18:07 -0800 |
commit | a41a585f359e73034bf685e74b2c97535f0b0404 (patch) | |
tree | c6640eb90cd15c7d3e8e018003fb9b56a76bbd48 /tests | |
parent | d9aa6e046bcb2e28cf7d05655ea971a59f671d6c (diff) | |
download | opus-a41a585f359e73034bf685e74b2c97535f0b0404.tar.gz |
test_opus_decode: force integer constants unsigned
Quiets:
warning: this decimal constant is unsigned only in ISO C90
when building with e.g., gcc -m32 -std=gnu90
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_opus_decode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_opus_decode.c b/tests/test_opus_decode.c index e2c04c2c..58c477bb 100644 --- a/tests/test_opus_decode.c +++ b/tests/test_opus_decode.c @@ -230,8 +230,8 @@ int test_decoder_code0(int no_fuzz) /*We only test a subset of the modes here simply because the longer durations end up taking a long time.*/ static const int cmodes[4]={16,20,24,28}; - static const opus_uint32 cres[4]={116290185,2172123586,2172123586,2172123586}; - static const opus_uint32 lres[3]={3285687739,1481572662,694350475}; + static const opus_uint32 cres[4]={116290185,2172123586u,2172123586u,2172123586u}; + static const opus_uint32 lres[3]={3285687739u,1481572662,694350475}; static const int lmodes[3]={0,4,8}; int mode=fast_rand()%4; |