diff options
author | ElectricSolstice <repairagent@yahoo.com> | 2015-02-16 18:58:41 -0800 |
---|---|---|
committer | ElectricSolstice <repairagent@yahoo.com> | 2015-02-16 18:58:41 -0800 |
commit | 0e1f34b49da3066bed94b316f22e6dd805509bf3 (patch) | |
tree | e966770a1bca9a3be47f756d6a498b8d61dd1b9c /drivers/vorbis/codebook.c | |
parent | 2bea642583efeb68886e71950384f297f2d7ee12 (diff) | |
download | redot-engine-0e1f34b49da3066bed94b316f22e6dd805509bf3.tar.gz |
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 759d7b4254..8a928cebb9 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++) |