[postgis-tickets] [SCM] PostGIS branch main updated. 3.1.0rc1-398-g9ee72d5
git at osgeo.org
git at osgeo.org
Thu Aug 12 14:18:55 PDT 2021
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, main has been updated
via 9ee72d5cb6e9b049c1b048f77d28140e18b18504 (commit)
from 6571dc8fde5cb396bfaf6db394f39b765535028c (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 9ee72d5cb6e9b049c1b048f77d28140e18b18504
Author: Sandro Santilli <strk at kbt.io>
Date: Thu Aug 12 23:18:47 2021 +0200
Hush compiler warning
diff --git a/liblwgeom/lwgeom_topo.c b/liblwgeom/lwgeom_topo.c
index 49aa52b..d468ada 100644
--- a/liblwgeom/lwgeom_topo.c
+++ b/liblwgeom/lwgeom_topo.c
@@ -7274,7 +7274,7 @@ lwt_GetFaceContainingPoint(LWT_TOPOLOGY* topo, const LWPOINT* pt)
nextSegmentP0 = closestSegmentP1;
/* This would be more of an assert...*/
- if ( closestSegmentIndex + 1 > closestEdge->geom->points->npoints )
+ if ( closestSegmentIndex + 1 > (int)closestEdge->geom->points->npoints )
{
lwerror("closestSegmentIndex is unexpectedly the last one and we didn't exit earlier as it would be a node");
return -1;
-----------------------------------------------------------------------
Summary of changes:
liblwgeom/lwgeom_topo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list