[xiph-commits] r17540 - trunk/Tremor
tterribe at svn.xiph.org
tterribe at svn.xiph.org
Sat Oct 16 14:38:41 PDT 2010
Author: tterribe
Date: 2010-10-16 14:38:41 -0700 (Sat, 16 Oct 2010)
New Revision: 17540
Modified:
trunk/Tremor/codebook.c
Log:
Fix compiler warning.
codebook.c:87: warning: suggest parentheses around '-' inside '>>'
Modified: trunk/Tremor/codebook.c
===================================================================
--- trunk/Tremor/codebook.c 2010-10-16 21:30:28 UTC (rev 17539)
+++ trunk/Tremor/codebook.c 2010-10-16 21:38:41 UTC (rev 17540)
@@ -84,7 +84,7 @@
long num=oggpack_read(opb,_ilog(s->entries-i));
if(num==-1)goto _eofout;
if(length>32 || num>s->entries-i ||
- (num>0 && num-1>>(length>>1)>>((length+1)>>1))>0){
+ (num>0 && (num-1)>>(length>>1)>>((length+1)>>1))>0){
goto _errout;
}
for(j=0;j<num;j++,i++)
More information about the commits
mailing list