]> granicus.if.org Git - postgis/commitdiff
Quiet some warnings.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 18 Jun 2012 20:14:44 +0000 (20:14 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 18 Jun 2012 20:14:44 +0000 (20:14 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9930 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/cunit/cu_algorithm.c

index 0f49472a81e055cbbb489473f9dbf69f7a388b6f..774d369f12e3775eb0ac3a3c77ef653228223222 100644 (file)
@@ -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);  
 }