[geos-commits] [SCM] GEOS branch main updated. 31deb41d81529756b9e47b9c8f2576849463b488

git at osgeo.org git at osgeo.org
Fri Oct 29 10:50:44 PDT 2021


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 "GEOS".

The branch, main has been updated
       via  31deb41d81529756b9e47b9c8f2576849463b488 (commit)
       via  0fc42c7d7e94b26dcfb66b00022bcada9775b5a6 (commit)
      from  c693615c05bb473a4640c95e0203b8e0a81a2134 (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 31deb41d81529756b9e47b9c8f2576849463b488
Merge: c693615c0 0fc42c7d7
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri Oct 29 10:50:40 2021 -0700

    Merge branch 'eyal0-repair_ci_int_to_uint' into main


commit 0fc42c7d7e94b26dcfb66b00022bcada9775b5a6
Author: eyal0 <109809+eyal0 at users.noreply.github.com>
Date:   Thu Oct 28 21:44:55 2021 -0600

    Fix compiler warning introduced in 89397ea6a8

diff --git a/src/noding/snap/SnappingNoder.cpp b/src/noding/snap/SnappingNoder.cpp
index 451cd11cd..eea89ec88 100644
--- a/src/noding/snap/SnappingNoder.cpp
+++ b/src/noding/snap/SnappingNoder.cpp
@@ -86,7 +86,7 @@ SnappingNoder::seedSnapIndex(std::vector<SegmentString*>& segStrings)
             rand = rand + PHI_INV;
             if (rand > 1) rand = rand - floor(rand);
 
-            int index = (int) (numPts * rand);
+            unsigned int index = (unsigned int) (numPts * rand);
             snapIndex.snap(cs->getAt(index));
         }
     }

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

Summary of changes:
 src/noding/snap/SnappingNoder.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list