浏览代码

Fix some LFS issues

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47665 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 14 年之前
父节点
当前提交
0b5e2c1c33
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      raster/r.terraflow/grass2str.h

+ 2 - 2
raster/r.terraflow/grass2str.h

@@ -140,9 +140,9 @@ cell2stream(char* cellname, elevation_type T_max_value, long* nodata_count) {
   /* close map files */
   /* close map files */
   Rast_close (infd);
   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());  
 		str->stream_len());  
-  assert(nrows * ncols == str->stream_len());
+  assert((off_t) nrows * ncols == str->stream_len());
   rt_stop(rt);
   rt_stop(rt);
   stats->recordTime("reading raster map", rt);
   stats->recordTime("reading raster map", rt);