[postgis-tickets] r14713 - PRId64 to LWTFMT_ELEMID

Sandro Santilli strk at keybit.net
Sat Feb 27 01:21:31 PST 2016


Author: strk
Date: 2016-02-27 01:21:31 -0800 (Sat, 27 Feb 2016)
New Revision: 14713

Modified:
   trunk/liblwgeom/lwgeom_topo.c
Log:
PRId64 to LWTFMT_ELEMID

Shoudl fix #3477

Modified: trunk/liblwgeom/lwgeom_topo.c
===================================================================
--- trunk/liblwgeom/lwgeom_topo.c	2016-02-27 08:10:37 UTC (rev 14712)
+++ trunk/liblwgeom/lwgeom_topo.c	2016-02-27 09:21:31 UTC (rev 14713)
@@ -2565,8 +2565,8 @@
       /* side-location conflict */
       lwerror("Side-location conflict: "
               "new edge starts in face"
-               " %" PRId64 " and ends in face"
-               " %" PRId64,
+               " %" LWTFMT_ELEMID " and ends in face"
+               " %" LWTFMT_ELEMID,
               newedge.face_right, epan.ccwFace
       );
       return -1;
@@ -2577,8 +2577,8 @@
       /* side-location conflict */
       lwerror("Side-location conflict: "
               "new edge starts in face"
-               " %" PRId64 " and ends in face"
-               " %" PRId64,
+               " %" LWTFMT_ELEMID " and ends in face"
+               " %" LWTFMT_ELEMID,
               newedge.face_left, epan.cwFace
       );
       return -1;
@@ -2894,7 +2894,7 @@
     lwfree( face );
     if ( i > 1 ) {
       lwerror("Corrupted topology: multiple face records have face_id=%"
-              PRId64, faceid);
+              LWTFMT_ELEMID, faceid);
       return NULL;
     }
     /* Face has no boundary edges, we'll return EMPTY, see
@@ -3607,7 +3607,7 @@
     if ( ! nface1 )
     {
       lwerror("lwt_ChangeEdgeGeom could not construct face %"
-                 PRId64 ", on the left of edge %" PRId64,
+                 LWTFMT_ELEMID ", on the left of edge %" LWTFMT_ELEMID,
                 oldedge->face_left, edge_id);
       return -1;
     }
@@ -3632,7 +3632,7 @@
     if ( ! nface2 )
     {
       lwerror("lwt_ChangeEdgeGeom could not construct face %"
-                 PRId64 ", on the right of edge %" PRId64,
+                 LWTFMT_ELEMID ", on the right of edge %" LWTFMT_ELEMID,
                 oldedge->face_right, edge_id);
       return -1;
     }



More information about the postgis-tickets mailing list