[GRASS-SVN] r41499 - grass/trunk/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Mar 20 14:52:38 EDT 2010
Author: glynn
Date: 2010-03-20 14:52:38 -0400 (Sat, 20 Mar 2010)
New Revision: 41499
Modified:
grass/trunk/lib/gis/flate.c
Log:
Fix signedness mismatch
Modified: grass/trunk/lib/gis/flate.c
===================================================================
--- grass/trunk/lib/gis/flate.c 2010-03-20 18:28:15 UTC (rev 41498)
+++ grass/trunk/lib/gis/flate.c 2010-03-20 18:52:38 UTC (rev 41499)
@@ -322,7 +322,7 @@
/* Set-up the stream */
c_stream.avail_in = src_sz;
- c_stream.next_in = (char *)src;
+ c_stream.next_in = (unsigned char *) src;
c_stream.avail_out = buf_sz;
c_stream.next_out = buf;
@@ -390,7 +390,7 @@
/* Set-up I/O streams */
c_stream.avail_in = src_sz;
- c_stream.next_in = (char *)src;
+ c_stream.next_in = (unsigned char *)src;
c_stream.avail_out = dst_sz;
c_stream.next_out = dst;
More information about the grass-commit
mailing list