[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha2-44-g6dc7c14

git at osgeo.org git at osgeo.org
Mon Aug 3 14:01:28 PDT 2020


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

The branch, master has been updated
       via  6dc7c14e2e5fc8d4d04c1b336825cf774bbd8890 (commit)
      from  b89a6f04ab68ebb21df2b35350ba73d3e8c568ae (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 6dc7c14e2e5fc8d4d04c1b336825cf774bbd8890
Author: Regina Obe <lr at pcorp.us>
Date:   Mon Aug 3 17:01:19 2020 -0400

    Get rid of more const  - quieting more gittie complaints. References #4734 for PostGIS 3.1.0

diff --git a/raster/test/cunit/cu_gdal.c b/raster/test/cunit/cu_gdal.c
index becb9e1..54daa3e 100644
--- a/raster/test/cunit/cu_gdal.c
+++ b/raster/test/cunit/cu_gdal.c
@@ -213,7 +213,7 @@ static void test_gdal_polygonize() {
 	*/
 
 	CU_ASSERT_DOUBLE_EQUAL(gv[1].val, 0.0, FLT_EPSILON);
-	gobserved = (const LWGEOM *)gv[1].geom;
+	gobserved = (LWGEOM *)gv[1].geom;
 	gexpected = lwgeom_from_wkt("POLYGON((3 3,3 6,6 6,6 3,3 3))", LW_PARSER_CHECK_NONE);
 	CU_ASSERT_DOUBLE_EQUAL(lwgeom_area(gobserved), lwgeom_area(gexpected), FLT_EPSILON);
 	//wkt = lwgeom_to_text((const LWGEOM *) gv[1].geom);
@@ -258,7 +258,7 @@ static void test_gdal_polygonize() {
 	*/
 
 	CU_ASSERT_DOUBLE_EQUAL(gv[3].val, 0.0, FLT_EPSILON);
-	gobserved = (const LWGEOM *)gv[3].geom;
+	gobserved = (LWGEOM *)gv[3].geom;
 	gexpected = lwgeom_from_wkt(
 	    "POLYGON((0 0,0 9,9 9,9 0,0 0),(6 7,6 8,3 8,3 7,2 7,2 6,1 6,1 3,2 3,2 2,3 2,3 1,6 1,6 2,7 2,7 3,8 3,8 6,7 6,7 7,6 7))",
 	    LW_PARSER_CHECK_NONE);

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

Summary of changes:
 raster/test/cunit/cu_gdal.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list