浏览代码

LFS check bugfix

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@39789 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 15 年之前
父节点
当前提交
487cbb6b7e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/segment/format.c

+ 1 - 1
lib/segment/format.c

@@ -123,7 +123,7 @@ static int _segment_format(int fd,
     if (sizeof(off_t) == 4) {
 	double file_size;
 
-	file_size = (double) nrows * ncols * len > INT_MAX;
+	file_size = (double) nrows * ncols * len;
 
 	if (file_size > INT_MAX) {
 	    G_warning("segment file size would be %.2fGB, but file size limit is 2GB", file_size / (1 << 30));