Browse Source

LFS check bugfix

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@39789 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 15 years ago
parent
commit
487cbb6b7e
1 changed files with 1 additions and 1 deletions
  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));