[GRASS-SVN] r40643 - grass/branches/develbranch_6/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jan 25 04:17:20 EST 2010
Author: neteler
Date: 2010-01-25 04:17:20 -0500 (Mon, 25 Jan 2010)
New Revision: 40643
Modified:
grass/branches/develbranch_6/lib/gis/spawn.c
Log:
fix compiler warning (from trac #714, comment 7)
Modified: grass/branches/develbranch_6/lib/gis/spawn.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/spawn.c 2010-01-25 08:16:53 UTC (rev 40642)
+++ grass/branches/develbranch_6/lib/gis/spawn.c 2010-01-25 09:17:20 UTC (rev 40643)
@@ -705,7 +705,7 @@
sp->directory = NULL;
}
-#define NEXT_ARG(var, type) ((type) *(var)++)
+#define NEXT_ARG(var, type) ((type) (ssize_t) *(var)++)
static void parse_argvec(struct spawn *sp, const char **va)
{
More information about the grass-commit
mailing list