[xiph-cvs] cvs commit: ogg/src bitwise.c
Segher Boessenkool
segher at xiph.org
Fri Dec 21 06:41:17 PST 2001
segher 01/12/21 06:41:16
Modified: src bitwise.c
Log:
fix "interesting" warning
Revision Changes Path
1.10 +3 -3 ogg/src/bitwise.c
Index: bitwise.c
===================================================================
RCS file: /usr/local/cvsroot/ogg/src/bitwise.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- bitwise.c 2001/12/20 00:58:45 1.9
+++ bitwise.c 2001/12/21 14:41:15 1.10
@@ -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 @@
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 @@
if(b->endbyte>=b->storage){
/* not the main path */
- ret=-1;
+ ret=-1UL;
goto overflow;
}
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list