[SCM] PostGIS branch master updated. 3.5.0alpha2-43-gef4ac019f

git at osgeo.org git at osgeo.org
Wed Aug 28 05:57:11 PDT 2024


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  ef4ac019fa4a1fc33d430fe91f219a3969227947 (commit)
      from  b6eeaed34aa3b73abefcda0aacefa9b596301faa (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 ef4ac019fa4a1fc33d430fe91f219a3969227947
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Aug 28 14:56:29 2024 +0200

    Fix another -pedantic warning

diff --git a/libpgcommon/lwgeom_pg.c b/libpgcommon/lwgeom_pg.c
index eb7dea249..5e14aa132 100644
--- a/libpgcommon/lwgeom_pg.c
+++ b/libpgcommon/lwgeom_pg.c
@@ -586,7 +586,7 @@ CallerFInfoFunctionCall3(PGFunction func, FmgrInfo *flinfo, Oid collation, Datum
 
     /* Check for null result, since caller is clearly not expecting one */
     if (fcinfo->isnull)
-        elog(ERROR, "function %p returned NULL", (void *) func);
+        elog(ERROR, "function %p returned NULL", (void *)&func);
 
     return result;
 }

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

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