[SCM] PostGIS branch master updated. 3.4.0rc1-1108-g98244e772

git at osgeo.org git at osgeo.org
Thu May 16 01:08:04 PDT 2024


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  98244e772ad3947ff4bb3465a6b9bd4a6b6cfaf0 (commit)
      from  d64abc400afd5d3eb2dd58de7e4fcbdd8cc3326e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 98244e772ad3947ff4bb3465a6b9bd4a6b6cfaf0
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu May 16 10:07:38 2024 +0200

    More unsigned/signed comparison warning fixes
    
    References #5729

diff --git a/liblwgeom/topo/lwt_edgeend_star.c b/liblwgeom/topo/lwt_edgeend_star.c
index 5b4db930f..616ed0e31 100644
--- a/liblwgeom/topo/lwt_edgeend_star.c
+++ b/liblwgeom/topo/lwt_edgeend_star.c
@@ -155,7 +155,7 @@ lwt_EdgeEndStar_debugPrint( const LWT_EDGEEND_STAR *star )
 {
   lwdebug(1, "Star around node %d has %d edgeEnds, %s",
     star->nodeID, star->numEdgeEnds, star->sorted ? "sorted" : "unsorted" );
-  for ( int i=0; i<star->numEdgeEnds; ++i )
+  for ( uint64_t i=0; i<star->numEdgeEnds; ++i )
   {
     LWT_EDGEEND *ee = star->edgeEnds[i];
     lwdebug(1, " EdgeEnd %d is %s edge %d, azimuth=%g",
@@ -170,7 +170,7 @@ lwt_edgeEndStar_getNextCW( LWT_EDGEEND_STAR *star, LWT_ISO_EDGE *edge, int outgo
 {
   lwt_edgeEndStar_ensureSorted( star );
 
-  int i=0;
+  uint64_t i=0;
   LWT_EDGEEND *thisEdgeEnd = NULL;
   for ( i=0; i<star->numEdgeEnds; ++i )
   {
@@ -193,7 +193,7 @@ lwt_edgeEndStar_getNextCCW( LWT_EDGEEND_STAR *star, LWT_ISO_EDGE *edge, int outg
 {
   lwt_edgeEndStar_ensureSorted( star );
 
-  int i=0;
+  uint64_t i=0;
   LWT_EDGEEND *thisEdgeEnd = NULL;
   for ( i=0; i<star->numEdgeEnds; ++i )
   {

-----------------------------------------------------------------------

Summary of changes:
 liblwgeom/topo/lwt_edgeend_star.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list