[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-312-gbcbbaffa2

git at osgeo.org git at osgeo.org
Wed Nov 2 12:57:01 PDT 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  bcbbaffa2d8eb0d6e24ff2a48f5fe01e16eb5e74 (commit)
      from  0b49bc5d7de90935f1208dc1f7ce998917db2eb6 (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 bcbbaffa2d8eb0d6e24ff2a48f5fe01e16eb5e74
Author: Regina Obe <lr at pcorp.us>
Date:   Wed Nov 2 15:56:17 2022 -0400

    Fix 'const char *' but argument is of type 'const char ***' for PG16
    References #5261 for PostGIS 3.4.0

diff --git a/libpgcommon/lwgeom_pg.c b/libpgcommon/lwgeom_pg.c
index da112260d..85f14700d 100644
--- a/libpgcommon/lwgeom_pg.c
+++ b/libpgcommon/lwgeom_pg.c
@@ -502,7 +502,7 @@ postgis_guc_find_option(const char *name)
 	 * the name field is first in config_generic.
 	 */
 #if POSTGIS_PGSQL_VERSION >= 160
-	res = (struct config_generic **) find_option(&key, false, true, ERROR);
+	res = (struct config_generic **) find_option((void *) &key, false, true, ERROR);
 #else
 	res = (struct config_generic **) bsearch((void *) &key,
 		 (void *) get_guc_variables(),

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

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


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list