[GRASS-SVN] r43554 - grass/branches/develbranch_6/raster/r.cost
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Sep 21 03:47:39 EDT 2010
Author: neteler
Date: 2010-09-21 07:47:39 +0000 (Tue, 21 Sep 2010)
New Revision: 43554
Modified:
grass/branches/develbranch_6/raster/r.cost/stash.h
Log:
use GNAME_MAX string length
Modified: grass/branches/develbranch_6/raster/r.cost/stash.h
===================================================================
--- grass/branches/develbranch_6/raster/r.cost/stash.h 2010-09-21 07:43:26 UTC (rev 43553)
+++ grass/branches/develbranch_6/raster/r.cost/stash.h 2010-09-21 07:47:39 UTC (rev 43554)
@@ -54,8 +54,8 @@
"outdir", MOVE_DIR_LAYER}
};
-char cum_cost_layer[64], move_dir_layer[64];
-char cost_layer[64];
+char cum_cost_layer[GNAME_MAX], move_dir_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