[GRASS-SVN] r40770 - grass/trunk/lib/dspf
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 1 10:36:31 EST 2010
Author: glynn
Date: 2010-02-01 10:36:31 -0500 (Mon, 01 Feb 2010)
New Revision: 40770
Modified:
grass/trunk/lib/dspf/cube_io.c
Log:
Fix warnings: "%ld" => "%"PRI_OFF_T
Modified: grass/trunk/lib/dspf/cube_io.c
===================================================================
--- grass/trunk/lib/dspf/cube_io.c 2010-02-01 15:32:18 UTC (rev 40769)
+++ grass/trunk/lib/dspf/cube_io.c 2010-02-01 15:36:31 UTC (rev 40770)
@@ -194,12 +194,12 @@
size |= inchar;
if (0 >= (ret = my_fread(Buffer, 1, size, fp))) {
- fprintf(stderr, "Error reading display file offset %ld\n", G_ftell(fp));
+ fprintf(stderr, "Error reading display file offset %"PRI_OFF_T"\n", G_ftell(fp));
return (-1);
}
if (ret != size) {
- fprintf(stderr, "Error (size) reading display file offset %ld\n",
+ fprintf(stderr, "Error (size) reading display file offset %"PRI_OFF_T"\n",
G_ftell(fp));
return (-1);
}
More information about the grass-commit
mailing list