[GRASS-SVN] r32757 - grass/trunk/lib/ogsf

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 14 04:38:49 EDT 2008


Author: glynn
Date: 2008-08-14 04:38:48 -0400 (Thu, 14 Aug 2008)
New Revision: 32757

Modified:
   grass/trunk/lib/ogsf/gvl_calc.c
Log:
Fix char/char* mismatch


Modified: grass/trunk/lib/ogsf/gvl_calc.c
===================================================================
--- grass/trunk/lib/ogsf/gvl_calc.c	2008-08-14 08:22:52 UTC (rev 32756)
+++ grass/trunk/lib/ogsf/gvl_calc.c	2008-08-14 08:38:48 UTC (rev 32757)
@@ -757,7 +757,7 @@
 unsigned char gvl_read_char(int pos, const unsigned char *data)
 {
     if (!data)
-	return NULL;
+	return '\0';
     
     return data[pos];
 }



More information about the grass-commit mailing list