diff options
| author | Juan Linietsky | 2015-03-22 15:05:47 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-03-22 15:05:47 -0300 |
| commit | f706e3e5d1d93c5666a1edabec1aeee318996d6f (patch) | |
| tree | 6cd00dbb9dcec62343f224fe6a5ae5899232975d /drivers/vorbis/codebook.c | |
| parent | 0302ea5b821939c68529195d223c35bc7f3ce7b1 (diff) | |
| parent | c0efa3fb5b8c545c34859cc722c3c8a2ada13e02 (diff) | |
| download | godot-f706e3e5d1d93c5666a1edabec1aeee318996d6f.tar.gz godot-f706e3e5d1d93c5666a1edabec1aeee318996d6f.tar.zst godot-f706e3e5d1d93c5666a1edabec1aeee318996d6f.zip | |
Merge pull request #1380 from ElectricSolstice/wparentheses_removal
Changed code to remove gcc -Wparentheses warnings.
Diffstat (limited to 'drivers/vorbis/codebook.c')
| -rw-r--r-- | drivers/vorbis/codebook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vorbis/codebook.c b/drivers/vorbis/codebook.c index 759d7b425..8a928cebb 100644 --- a/drivers/vorbis/codebook.c +++ b/drivers/vorbis/codebook.c @@ -248,7 +248,7 @@ static_codebook *vorbis_staticbook_unpack(oggpack_buffer *opb){ } /* quantized values */ - if((quantvals*s->q_quant+7>>3)>opb->storage-oggpack_bytes(opb)) + if(((quantvals*s->q_quant+7)>>3)>opb->storage-oggpack_bytes(opb)) goto _eofout; s->quantlist=_ogg_malloc(sizeof(*s->quantlist)*quantvals); for(i=0;i<quantvals;i++) |
