shithub: jbig2

Download patch

ref: 19968191d0e439174a62e9db1acda370373014ab
parent: a889e79e5e6b5815428ad9dbe56b11a65c8aa395
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Mon Aug 5 18:47:53 EDT 2002

make the buffer rd/wr offsets unsigned ints to avoid signed/unsigned
warnings. they should really be offset_t, but we're scared to use that
because no one else does.


git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@168 ded80894-8fb9-0310-811b-c03f3676ab4d

--- a/jbig2_priv.h
+++ b/jbig2_priv.h
@@ -8,7 +8,7 @@
     the Free Software Foundation; either version 2 of the License, or
     (at your option) any later version.
         
-    $Id: jbig2_priv.h,v 1.15 2002/07/09 10:39:08 giles Exp $
+    $Id: jbig2_priv.h,v 1.16 2002/08/05 22:47:53 giles Exp $
     
     shared library internals
 */
@@ -45,8 +45,8 @@
 
   byte *buf;
   size_t buf_size;
-  int buf_rd_ix;
-  int buf_wr_ix;
+  unsigned int buf_rd_ix;
+  unsigned int buf_wr_ix;
 
   Jbig2FileState state;