[postgis-tickets] [SCM] PostGIS branch master updated. 3.2.0-459-g6f335e811

git at osgeo.org git at osgeo.org
Wed Feb 2 10:41:14 PST 2022


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  6f335e8117bcbc43daa9e0536c0703e3926f8acd (commit)
      from  f72272c7e0cac42fe28aad1bd4abb2c91ee7363d (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 6f335e8117bcbc43daa9e0536c0703e3926f8acd
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Wed Feb 2 10:41:04 2022 -0800

    Harmonize C parameter reading in concave hull with the SQL side parameter definition

diff --git a/postgis/lwgeom_geos.c b/postgis/lwgeom_geos.c
index 449d4e0f3..34fb10c3d 100644
--- a/postgis/lwgeom_geos.c
+++ b/postgis/lwgeom_geos.c
@@ -904,7 +904,7 @@ Datum ST_ConcaveHull(PG_FUNCTION_ARGS)
 
 #else /* POSTGIS_GEOS_VERSION >= 31100 */
 	GSERIALIZED* geom = PG_GETARG_GSERIALIZED_P(0);
-	double ratio = PG_GETARG_FLOAT8(1);
+	double ratio = (double)PG_GETARG_FLOAT4(1);
 	bool allow_holes = PG_GETARG_BOOL(2);
 
 	LWGEOM* lwgeom = lwgeom_from_gserialized(geom);

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

Summary of changes:
 postgis/lwgeom_geos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list