[GRASS-SVN] r38640 - grass/trunk/vector/v.vol.rst

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 8 06:06:05 EDT 2009


Author: mmetz
Date: 2009-08-08 06:06:05 -0400 (Sat, 08 Aug 2009)
New Revision: 38640

Modified:
   grass/trunk/vector/v.vol.rst/user3.c
Log:
LFS-safe, fixed G_fseek argument

Modified: grass/trunk/vector/v.vol.rst/user3.c
===================================================================
--- grass/trunk/vector/v.vol.rst/user3.c	2009-08-08 10:04:37 UTC (rev 38639)
+++ grass/trunk/vector/v.vol.rst/user3.c	2009-08-08 10:06:05 UTC (rev 38640)
@@ -567,7 +567,7 @@
 		offset2 = offset + ind;	/* rows*cols offset */
 
 		if ((cellinp != NULL) && (cellout != NULL) && (i == ngstl)) {
-		    G_fseek(Tmp_fd_cell, (off_t)(ind * sizeof(FCELL)), 0);
+		    G_fseek(Tmp_fd_cell, ((off_t)ind * sizeof(FCELL)), 0);
 		    if (!
 			(fwrite
 			 (zero_array_cell + ind1, sizeof(FCELL),



More information about the grass-commit mailing list