[GRASS-SVN] r47580 - grass/branches/releasebranch_6_4/lib/cairodriver

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 11 18:01:16 EDT 2011


Author: neteler
Date: 2011-08-11 15:01:16 -0700 (Thu, 11 Aug 2011)
New Revision: 47580

Modified:
   grass/branches/releasebranch_6_4/lib/cairodriver/Graph.c
Log:
fix compiler warning

Modified: grass/branches/releasebranch_6_4/lib/cairodriver/Graph.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/cairodriver/Graph.c	2011-08-11 22:00:45 UTC (rev 47579)
+++ grass/branches/releasebranch_6_4/lib/cairodriver/Graph.c	2011-08-11 22:01:16 UTC (rev 47580)
@@ -352,7 +352,7 @@
 	cairo_surface_destroy(surface);
 	G_free(grid);
     }
-    grid = (char *)ptr + HEADER_SIZE;
+    grid = (unsigned char *)ptr + HEADER_SIZE;
 
     close(fd);
 



More information about the grass-commit mailing list