[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-311-g0b49bc5d7

git at osgeo.org git at osgeo.org
Wed Nov 2 12:22:02 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  0b49bc5d7de90935f1208dc1f7ce998917db2eb6 (commit)
      from  6112ff693507f527f9c3bbadb238d07ba333eaa0 (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 0b49bc5d7de90935f1208dc1f7ce998917db2eb6
Author: Regina Obe <lr at pcorp.us>
Date:   Wed Nov 2 15:09:29 2022 -0400

    Fix error: assignment to 'struct config_generic **' from incompatible pointer type 'struct config_generic *'
    References #5261 for PostGIS 3.4.0

diff --git a/libpgcommon/lwgeom_pg.c b/libpgcommon/lwgeom_pg.c
index 2aba252c9..da112260d 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 = find_option(&key, false, true, ERROR);
+	res = (struct config_generic **) find_option(&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