[geos-commits] [SCM] GEOS branch master updated. 6b6abc3a1b8aafeac2380e9bec9dc6ea45edce22

git at osgeo.org git at osgeo.org
Fri Sep 20 10:23:29 PDT 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  6b6abc3a1b8aafeac2380e9bec9dc6ea45edce22 (commit)
      from  1f341e58649a4b35973b9272706cecea276c21ab (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 6b6abc3a1b8aafeac2380e9bec9dc6ea45edce22
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri Sep 20 10:23:07 2019 -0700

    Be explicit about our literals in enumerations
    References #867

diff --git a/include/geos/geom/Location.h b/include/geos/geom/Location.h
index e56eae4..bd7ab93 100644
--- a/include/geos/geom/Location.h
+++ b/include/geos/geom/Location.h
@@ -35,7 +35,7 @@ enum class GEOS_DLL Location : char {
     /**
      *  Used for uninitialized location values.
      */
-    UNDEF = -1, // Instead of NULL
+    UNDEF = (char)(-1), // Instead of NULL
 
     /**
      * DE-9IM row index of the interior of the first geometry and

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

Summary of changes:
 include/geos/geom/Location.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list