[SCM] PostGIS branch master updated. 3.5.0-276-g1141db62e
git at osgeo.org
git at osgeo.org
Tue Apr 15 15:51:25 PDT 2025
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 1141db62ef435f7b7d2bb4cc13766daff4fe880f (commit)
from 8e6d57242844ddc68fce01f3bcb038482afff69a (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 1141db62ef435f7b7d2bb4cc13766daff4fe880f
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Tue Apr 15 15:51:12 2025 -0700
Quiet CodeQL on int size mismatch
diff --git a/postgis/gserialized_estimate.c b/postgis/gserialized_estimate.c
index 0f7d4f81a..a1db67660 100644
--- a/postgis/gserialized_estimate.c
+++ b/postgis/gserialized_estimate.c
@@ -2315,7 +2315,7 @@ index_has_attr(Oid index_oid, Oid table_oid, int16 table_attnum)
elog(ERROR, "table=%u and index=%u are not related", table_oid, index_oid);
/* Check if the attnum is in the indkey array */
- for (int16 i = 0; i < index_form->indkey.dim1; i++)
+ for (int16 i = 0; i < (int16)(index_form->indkey.dim1); i++)
{
if (index_form->indkey.values[i] == table_attnum)
{
-----------------------------------------------------------------------
Summary of changes:
postgis/gserialized_estimate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list