[GRASS-SVN] r71269 - grass/trunk/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jul 17 13:16:15 PDT 2017
Author: mmetz
Date: 2017-07-17 13:16:15 -0700 (Mon, 17 Jul 2017)
New Revision: 71269
Modified:
grass/trunk/lib/vector/Vlib/sindex.c
Log:
Vlib: fix pointer address for debug message
Modified: grass/trunk/lib/vector/Vlib/sindex.c
===================================================================
--- grass/trunk/lib/vector/Vlib/sindex.c 2017-07-17 20:08:00 UTC (rev 71268)
+++ grass/trunk/lib/vector/Vlib/sindex.c 2017-07-17 20:16:15 UTC (rev 71269)
@@ -146,9 +146,8 @@
/* avoid loop when not debugging */
if (debug_level > 2) {
for (i = 0; i < list->n_values; i++) {
- G_debug(3, " area = %d pointer to area structure = %lx",
- list->id[i],
- (unsigned long)Map->plus.Area[list->id[i]]);
+ G_debug(3, " area = %d pointer to area structure = %p",
+ list->id[i], (void *)Map->plus.Area[list->id[i]]);
}
}
More information about the grass-commit
mailing list