[GRASS-SVN] r32759 - grass/branches/develbranch_6/lib/ogsf
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Aug 14 05:42:49 EDT 2008
Author: martinl
Date: 2008-08-14 05:42:40 -0400 (Thu, 14 Aug 2008)
New Revision: 32759
Modified:
grass/branches/develbranch_6/lib/ogsf/gvl_calc.c
Log:
glynn: Fix char/char* mismatch (merge from trunk, r32757)
Modified: grass/branches/develbranch_6/lib/ogsf/gvl_calc.c
===================================================================
--- grass/branches/develbranch_6/lib/ogsf/gvl_calc.c 2008-08-14 08:44:53 UTC (rev 32758)
+++ grass/branches/develbranch_6/lib/ogsf/gvl_calc.c 2008-08-14 09:42:40 UTC (rev 32759)
@@ -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