From d1edfd3fec83184d439393ce02bdb9e4bfdaecdb Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Fri, 21 Dec 2001 14:41:15 +0000 Subject: fix "interesting" warning git-svn-id: http://svn.xiph.org/trunk/ogg@2880 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- src/bitwise.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/bitwise.c') diff --git a/src/bitwise.c b/src/bitwise.c index c3a9556..9c9b151 100644 --- a/src/bitwise.c +++ b/src/bitwise.c @@ -11,7 +11,7 @@ ******************************************************************** function: packing variable sized words into an octet stream - last mod: $Id: bitwise.c,v 1.9 2001/12/20 00:58:45 segher Exp $ + last mod: $Id: bitwise.c,v 1.10 2001/12/21 14:41:15 segher Exp $ ********************************************************************/ @@ -172,7 +172,7 @@ long oggpack_read(oggpack_buffer *b,int bits){ if(b->endbyte+4>=b->storage){ /* not the main path */ - ret=-1; + ret=-1UL; if(b->endbyte+(bits-1)/8>=b->storage)goto overflow; } @@ -204,7 +204,7 @@ long oggpack_read1(oggpack_buffer *b){ if(b->endbyte>=b->storage){ /* not the main path */ - ret=-1; + ret=-1UL; goto overflow; } -- cgit v1.2.1