[postgis-tickets] [SCM] PostGIS branch master updated. 3.2.0-427-g12bc33bd7

git at osgeo.org git at osgeo.org
Mon Jan 31 08:03:18 PST 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  12bc33bd7a90d2f7cf6e140515fdf6c9ad467a45 (commit)
      from  5d88858a2ca86e1eb8963515fc5dae86fd7ba382 (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 12bc33bd7a90d2f7cf6e140515fdf6c9ad467a45
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon Jan 31 17:03:03 2022 +0100

    Fix -Werror=sign-compare warnings

diff --git a/doc/html/image_src/generator.c b/doc/html/image_src/generator.c
index 65203f5ce..20d51088e 100644
--- a/doc/html/image_src/generator.c
+++ b/doc/html/image_src/generator.c
@@ -72,7 +72,7 @@ pointarrayToString(char *output, POINTARRAY *pa)
 {
 	char x[OUT_DOUBLE_BUFFER_SIZE];
 	char y[OUT_DOUBLE_BUFFER_SIZE];
-	int i;
+	unsigned int i;
 	char *ptr = output;
 
 	for ( i=0; i < pa->npoints; i++ )
@@ -162,7 +162,7 @@ static size_t
 drawPolygon(char *output, LWPOLY *lwp, LAYERSTYLE *style)
 {
 	char *ptr = output;
-	int i;
+	unsigned int i;
 
 	LWDEBUGF(4, "%s", "drawPolygon called");
 	LWDEBUGF( 4, "poly = %s", lwgeom_to_ewkt((LWGEOM*)lwp) );
@@ -193,7 +193,7 @@ static size_t
 drawGeometry(char *output, LWGEOM *lwgeom, LAYERSTYLE *styles )
 {
 	char *ptr = output;
-	int i;
+	unsigned int i;
 	int type = lwgeom->type;
 
 	switch (type)

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

Summary of changes:
 doc/html/image_src/generator.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list