[GRASS-SVN] r47582 - grass/branches/develbranch_6/lib/cairodriver

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 11 18:02:07 EDT 2011


Author: neteler
Date: 2011-08-11 15:02:07 -0700 (Thu, 11 Aug 2011)
New Revision: 47582

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

Modified: grass/branches/develbranch_6/lib/cairodriver/Graph.c
===================================================================
--- grass/branches/develbranch_6/lib/cairodriver/Graph.c	2011-08-11 22:01:53 UTC (rev 47581)
+++ grass/branches/develbranch_6/lib/cairodriver/Graph.c	2011-08-11 22:02:07 UTC (rev 47582)
@@ -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