[postgis-tickets] r17159 - Tests: Remove warning when building with 32bit arch

Raul raul at rmr.ninja
Wed Jan 16 01:04:13 PST 2019


Author: algunenano
Date: 2019-01-16 01:04:13 -0800 (Wed, 16 Jan 2019)
New Revision: 17159

Modified:
   branches/2.5/liblwgeom/cunit/cu_algorithm.c
Log:
Tests: Remove warning when building with 32bit arch

It appeared when investigating #4298



Modified: branches/2.5/liblwgeom/cunit/cu_algorithm.c
===================================================================
--- branches/2.5/liblwgeom/cunit/cu_algorithm.c	2019-01-15 22:19:11 UTC (rev 17158)
+++ branches/2.5/liblwgeom/cunit/cu_algorithm.c	2019-01-16 09:04:13 UTC (rev 17159)
@@ -1358,7 +1358,7 @@
 	LWPOLY* p;
 	const GBOX* g;
 	const int srid = 4326;
-	const int segments_per_quad = 17;
+	const uint32_t segments_per_quad = 17;
 	const int x = 10;
 	const int y = 20;
 	const int r = 5;



More information about the postgis-tickets mailing list