[geos-commits] [SCM] GEOS branch main updated. a7626dbb6dd7f19b5edb6846bddb1550a0d7c142

git at osgeo.org git at osgeo.org
Fri Dec 5 13:17:05 PST 2025


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  a7626dbb6dd7f19b5edb6846bddb1550a0d7c142 (commit)
      from  de9084960cfdbc621f4e544ff1c429253c86f39c (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 a7626dbb6dd7f19b5edb6846bddb1550a0d7c142
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri Dec 5 13:16:41 2025 -0800

    Quiet MSVC warning about type conversion

diff --git a/src/operation/GeometryGraphOperation.cpp b/src/operation/GeometryGraphOperation.cpp
index 41249ca0a..d44c7cce9 100644
--- a/src/operation/GeometryGraphOperation.cpp
+++ b/src/operation/GeometryGraphOperation.cpp
@@ -80,8 +80,8 @@ GeometryGraphOperation::GeometryGraphOperation(const Geometry* g0,
         setComputationPrecision(pm1);
     }
 
-    arg[0] = std::make_unique<GeometryGraph>(0, g0, boundaryNodeRule);
-    arg[1] = std::make_unique<GeometryGraph>(1, g1, boundaryNodeRule);
+    arg[0] = std::make_unique<GeometryGraph>(static_cast<uint8_t>(0), g0, boundaryNodeRule);
+    arg[1] = std::make_unique<GeometryGraph>(static_cast<uint8_t>(1), g1, boundaryNodeRule);
 }
 
 
@@ -93,7 +93,7 @@ GeometryGraphOperation::GeometryGraphOperation(const Geometry* g0):
 
     setComputationPrecision(pm0);
 
-    arg[0] = std::make_unique<GeometryGraph>(0, g0);
+    arg[0] = std::make_unique<GeometryGraph>(static_cast<uint8_t>(0), g0);
 }
 
 const Geometry*

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

Summary of changes:
 src/operation/GeometryGraphOperation.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list