[geos-commits] [SCM] GEOS branch master updated. 33e37716b99f02aa2ca079857e408e5d5882e307

git at osgeo.org git at osgeo.org
Tue Feb 23 17:29:31 PST 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, master has been updated
       via  33e37716b99f02aa2ca079857e408e5d5882e307 (commit)
      from  3dd712169049be0c38665765979234968be6540f (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 33e37716b99f02aa2ca079857e408e5d5882e307
Author: Martin Davis <mtnclimb at gmail.com>
Date:   Tue Feb 23 17:31:29 2021 -0800

    Fix OverlayNG LineBuilder warning

diff --git a/include/geos/operation/overlayng/LineBuilder.h b/include/geos/operation/overlayng/LineBuilder.h
index 2c77360..2abeda3 100644
--- a/include/geos/operation/overlayng/LineBuilder.h
+++ b/include/geos/operation/overlayng/LineBuilder.h
@@ -165,7 +165,7 @@ public:
         , opCode(p_opCode)
         , geometryFactory(geomFact)
         , hasResultArea(p_hasResultArea)
-        , inputAreaIndex(inputGeom->getAreaIndex())
+        , inputAreaIndex((int8_t)inputGeom->getAreaIndex())
         , isAllowMixedResult(! OverlayNG::STRICT_MODE_DEFAULT)
         , isAllowCollapseLines(! OverlayNG::STRICT_MODE_DEFAULT)
         {}
@@ -187,4 +187,3 @@ public:
 } // namespace geos.operation.overlayng
 } // namespace geos.operation
 } // namespace geos
-

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

Summary of changes:
 include/geos/operation/overlayng/LineBuilder.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list