[GRASS-SVN] r47665 - grass/trunk/raster/r.terraflow

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 16 03:11:50 EDT 2011


Author: glynn
Date: 2011-08-16 00:11:50 -0700 (Tue, 16 Aug 2011)
New Revision: 47665

Modified:
   grass/trunk/raster/r.terraflow/grass2str.h
Log:
Fix some LFS issues


Modified: grass/trunk/raster/r.terraflow/grass2str.h
===================================================================
--- grass/trunk/raster/r.terraflow/grass2str.h	2011-08-16 07:00:23 UTC (rev 47664)
+++ grass/trunk/raster/r.terraflow/grass2str.h	2011-08-16 07:11:50 UTC (rev 47665)
@@ -140,9 +140,9 @@
   /* close map files */
   Rast_close (infd);
 
-  G_debug(3, "nrows=%d   ncols=%d    stream_len()=%d", nrows, ncols,
+  G_debug(3, "nrows=%d   ncols=%d    stream_len()=%"PRI_OFF_T, nrows, ncols,
 		str->stream_len());  
-  assert(nrows * ncols == str->stream_len());
+  assert((off_t) nrows * ncols == str->stream_len());
   rt_stop(rt);
   stats->recordTime("reading raster map", rt);
 



More information about the grass-commit mailing list