I don't commit into wv, but here's a patch for some compiler warnings
(bug 3688).  I'm not sure that it's the right thing to do.

Index: clx.c
===================================================================
RCS file: /cvsroot/wv/clx.c,v
retrieving revision 1.22
diff -u -r1.22 clx.c
--- clx.c       11 Apr 2001 00:27:46 -0000      1.22
+++ clx.c       14 Jul 2002 20:03:42 -0000
@@ -158,7 +158,7 @@
 }
 
 
-int
+signed int
 wvGetPieceBoundsFC (U32 * begin, U32 * end, CLX * clx, U32 piececount)
 {
     int type;
Index: decode_complex.c
===================================================================
RCS file: /cvsroot/wv/decode_complex.c,v
retrieving revision 1.52
diff -u -r1.52 decode_complex.c
--- decode_complex.c    23 Mar 2002 14:26:21 -0000      1.52
+++ decode_complex.c    14 Jul 2002 20:03:42 -0000
@@ -335,7 +335,7 @@
     U32 beginfc, endfc;
        U32 stream_size;
     U32 begincp, endcp;
-    U8 chartype;
+    unsigned int chartype;
     U16 eachchar;
     U32 para_fcFirst, para_fcLim = 0xffffffffL;
     U32 dummy, nextpara_fcLim = 0xffffffffL;
Index: decode_simple.c
===================================================================
RCS file: /cvsroot/wv/decode_simple.c,v
retrieving revision 1.60
diff -u -r1.60 decode_simple.c
--- decode_simple.c     23 Mar 2002 14:26:21 -0000      1.60
+++ decode_simple.c     14 Jul 2002 20:03:42 -0000
@@ -27,7 +27,7 @@
     U32 beginfc, endfc;
        U32 stream_size;
     U32 begincp, endcp;
-    U8 chartype;
+    unsigned int chartype;
     U16 eachchar;
     U32 para_fcFirst, para_fcLim = 0xffffffff;
     U32 dummy, nextpara_fcLim = 0xffffffff;
Index: table.c
===================================================================
RCS file: /cvsroot/wv/table.c,v
retrieving revision 1.28
diff -u -r1.28 table.c
--- table.c     28 Aug 2001 14:01:44 -0000      1.28
+++ table.c     14 Jul 2002 20:03:42 -0000
@@ -685,7 +685,7 @@
         U32 para_intervals)
 {
     U32 piececount;
-    U8 chartype;
+    unsigned int chartype;
     U32 begincp, endcp;
     U32 beginfc, endfc;
     U32 i, j, k = 0;

Reply via email to