From: Paul Ramsey Date: Mon, 18 Jun 2012 20:14:44 +0000 (+0000) Subject: Quiet some warnings. X-Git-Tag: 2.1.0beta2~894 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4d09fe6af8323d87cc05612e95b048996e71c86;p=postgis Quiet some warnings. git-svn-id: http://svn.osgeo.org/postgis/trunk@9930 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/cunit/cu_algorithm.c b/liblwgeom/cunit/cu_algorithm.c index 0f49472a8..774d369f1 100644 --- a/liblwgeom/cunit/cu_algorithm.c +++ b/liblwgeom/cunit/cu_algorithm.c @@ -879,20 +879,20 @@ static void test_isclosed(void) } -void test_geohash_point_as_int(void) +static void test_geohash_point_as_int(void) { unsigned int gh; POINT2D p; p.x = 50; p.y = 35; gh = geohash_point_as_int(&p); - CU_ASSERT_EQUAL(gh, 3440103613); + CU_ASSERT_EQUAL(gh, (unsigned int)3440103613); p.x = 140; p.y = 45; gh = geohash_point_as_int(&p); - CU_ASSERT_EQUAL(gh, 3982480893); + CU_ASSERT_EQUAL(gh, (unsigned int)3982480893); p.x = 140; p.y = 55; gh = geohash_point_as_int(&p); - CU_ASSERT_EQUAL(gh, 4166944232); + CU_ASSERT_EQUAL(gh, (unsigned int)4166944232); }