[GRASS-SVN] r43555 - grass/branches/releasebranch_6_4/raster/r.cost
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Sep 21 03:52:57 EDT 2010
Author: neteler
Date: 2010-09-21 07:52:57 +0000 (Tue, 21 Sep 2010)
New Revision: 43555
Modified:
grass/branches/releasebranch_6_4/raster/r.cost/stash.h
Log:
use GNAME_MAX string length
Modified: grass/branches/releasebranch_6_4/raster/r.cost/stash.h
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.cost/stash.h 2010-09-21 07:47:39 UTC (rev 43554)
+++ grass/branches/releasebranch_6_4/raster/r.cost/stash.h 2010-09-21 07:52:57 UTC (rev 43555)
@@ -52,8 +52,8 @@
"coor", START_PT}
};
-char cum_cost_layer[64];
-char cost_layer[64];
+char cum_cost_layer[GNAME_MAX];
+char cost_layer[GNAME_MAX];
struct start_pt *head_start_pt = NULL;
struct start_pt *head_end_pt = NULL;
More information about the grass-commit
mailing list