浏览代码

r.info: sync formatting of total cells, see https://trac.osgeo.org/grass/ticket/3793

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@74265 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 6 年之前
父节点
当前提交
7f2faf0d2a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      raster/r.info/main.c

+ 1 - 1
raster/r.info/main.c

@@ -197,7 +197,7 @@ int main(int argc, char **argv)
 	{
 	{
 	    compose_line(out, "  Rows:         %d", cellhd.rows);
 	    compose_line(out, "  Rows:         %d", cellhd.rows);
 	    compose_line(out, "  Columns:      %d", cellhd.cols);
 	    compose_line(out, "  Columns:      %d", cellhd.cols);
-	    compose_line(out, "  Total Cells:  %ju",
+	    compose_line(out, "  Total Cells:  %jd",
 			 (grass_int64)cellhd.rows * cellhd.cols);
 			 (grass_int64)cellhd.rows * cellhd.cols);
 
 
 	    /* This is printed as a guide to what the following eastings and
 	    /* This is printed as a guide to what the following eastings and