[GRASS-dev] Re: [GRASS-SVN] r41499 - grass/trunk/lib/gis
Markus Neteler
neteler at osgeo.org
Sat Mar 20 18:00:25 EDT 2010
Glynn,
should I backport this?
Markus
On Sat, Mar 20, 2010 at 7:52 PM, <svn_grass at osgeo.org> wrote:
> 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;
>
>
> _______________________________________________
> grass-commit mailing list
> grass-commit at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-commit
>
More information about the grass-dev
mailing list