[geos-commits] [SCM] GEOS branch master updated. 8d02a094bc8e3b661bf9bb0a9b0a648f0a73a362

git at osgeo.org git at osgeo.org
Thu Feb 14 13:34:28 PST 2019


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, master has been updated
       via  8d02a094bc8e3b661bf9bb0a9b0a648f0a73a362 (commit)
      from  f2a788ce1c24e34eac002203dc8d42c1068d1d9b (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 8d02a094bc8e3b661bf9bb0a9b0a648f0a73a362
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Thu Feb 14 13:34:20 2019 -0800

    Quiet compiler warnings

diff --git a/src/noding/NodingIntersectionFinder.cpp b/src/noding/NodingIntersectionFinder.cpp
index 0d8b1e8..81f5f23 100644
--- a/src/noding/NodingIntersectionFinder.cpp
+++ b/src/noding/NodingIntersectionFinder.cpp
@@ -132,7 +132,7 @@ NodingIntersectionFinder::processIntersections(
     /**
      * Check for an intersection between two vertices which are not both endpoints.
      */
-    int segDiff = segIndex1 - segIndex0;
+    long long segDiff = segIndex1 - segIndex0;
     bool isAdjacentSegment = isSameSegString && std::abs(segDiff) <= 1;
     bool isInteriorVertexInt = (!isAdjacentSegment) &&
                                isInteriorVertexIntersection(p00, p01, p10, p11, isEnd00, isEnd01, isEnd10, isEnd11);

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

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


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list