From ef651239baad50bff0d1a9ee755aa92f48481c23 Mon Sep 17 00:00:00 2001 From: Tim Terriberry Date: Sat, 16 Oct 2010 21:38:41 +0000 Subject: Fix compiler warning. codebook.c:87: warning: suggest parentheses around '-' inside '>>' git-svn-id: https://svn.xiph.org/trunk/Tremor@17540 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- codebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codebook.c b/codebook.c index 3844ddc..d7d4783 100644 --- a/codebook.c +++ b/codebook.c @@ -84,7 +84,7 @@ static_codebook *vorbis_staticbook_unpack(oggpack_buffer *opb){ 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