فهرست منبع

LFS-safe, fixed G_fseek argument

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@38640 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 16 سال پیش
والد
کامیت
2df7487384
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      vector/v.vol.rst/user3.c

+ 1 - 1
vector/v.vol.rst/user3.c

@@ -567,7 +567,7 @@ COGRR1(double x_or, double y_or, double z_or, int n_rows, int n_cols,
 		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),