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

Raul raul at rmr.ninja
Tue Jan 15 08:32:52 PST 2019


Author: algunenano
Date: 2019-01-15 08:32:52 -0800 (Tue, 15 Jan 2019)
New Revision: 17151

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

It appeared when investigating #4298


Modified: trunk/liblwgeom/cunit/cu_algorithm.c
===================================================================
--- trunk/liblwgeom/cunit/cu_algorithm.c	2019-01-15 11:17:54 UTC (rev 17150)
+++ trunk/liblwgeom/cunit/cu_algorithm.c	2019-01-15 16:32:52 UTC (rev 17151)
@@ -1479,7 +1479,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