]> granicus.if.org Git - postgis/commitdiff
PRId64 to LWTFMT_ELEMID
authorSandro Santilli <strk@keybit.net>
Sat, 27 Feb 2016 09:21:31 +0000 (09:21 +0000)
committerSandro Santilli <strk@keybit.net>
Sat, 27 Feb 2016 09:21:31 +0000 (09:21 +0000)
Shoudl fix #3477

git-svn-id: http://svn.osgeo.org/postgis/trunk@14713 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/lwgeom_topo.c

index f525f3b5a8830f1674e2231b2ab24799f5ee8093..65298fe53ec94895dc67a351a224198367be54cb 100644 (file)
@@ -2565,8 +2565,8 @@ _lwt_AddEdge( LWT_TOPOLOGY* topo,
       /* 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 @@ _lwt_AddEdge( LWT_TOPOLOGY* topo,
       /* 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 @@ lwt_GetFaceGeometry(LWT_TOPOLOGY* topo, LWT_ELEMID faceid)
     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 @@ lwt_ChangeEdgeGeom(LWT_TOPOLOGY* topo, LWT_ELEMID edge_id, LWLINE *geom)
     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 @@ lwt_ChangeEdgeGeom(LWT_TOPOLOGY* topo, LWT_ELEMID edge_id, LWLINE *geom)
     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;
     }