mirror of
https://github.com/xiph/opus.git
synced 2025-06-02 16:47:42 +00:00
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
This commit is contained in:
parent
d9aa6e046b
commit
a41a585f35
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue