[postgis-tickets] r14943 - Fix printf format for SPI_processed (not a long)
Sandro Santilli
strk at kbt.io
Wed Jun 8 02:17:33 PDT 2016
Author: strk
Date: 2016-06-08 02:17:32 -0700 (Wed, 08 Jun 2016)
New Revision: 14943
Modified:
trunk/topology/postgis_topology.c
Log:
Fix printf format for SPI_processed (not a long)
Modified: trunk/topology/postgis_topology.c
===================================================================
--- trunk/topology/postgis_topology.c 2016-06-07 22:11:30 UTC (rev 14942)
+++ trunk/topology/postgis_topology.c 2016-06-08 09:17:32 UTC (rev 14943)
@@ -1374,7 +1374,7 @@
if ( SPI_processed ) topo->be_data->data_changed = true;
if ( SPI_processed != numelems ) {
- cberror(topo->be_data, "processed %ld rows, expected %d",
+ cberror(topo->be_data, "processed %u rows, expected %d",
SPI_processed, numelems);
return 0;
}
@@ -1429,7 +1429,7 @@
if ( SPI_processed ) topo->be_data->data_changed = true;
POSTGIS_DEBUGF(1, "cb_insertEdges query processed %d rows", SPI_processed);
if ( SPI_processed != numelems ) {
- cberror(topo->be_data, "processed %ld rows, expected %d",
+ cberror(topo->be_data, "processed %u rows, expected %d",
SPI_processed, numelems);
return -1;
}
@@ -1485,7 +1485,7 @@
if ( SPI_processed ) topo->be_data->data_changed = true;
POSTGIS_DEBUGF(1, "cb_insertFaces query processed %d rows", SPI_processed);
if ( SPI_processed != numelems ) {
- cberror(topo->be_data, "processed %ld rows, expected %d",
+ cberror(topo->be_data, "processed %u rows, expected %d",
SPI_processed, numelems);
return -1;
}
More information about the postgis-tickets
mailing list