fix compiler warning in test
authorDaniel Baston <dbaston@gmail.com>
Wed, 2 Dec 2015 01:54:29 +0000 (01:54 +0000)
committerDaniel Baston <dbaston@gmail.com>
Wed, 2 Dec 2015 01:54:29 +0000 (01:54 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14468 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/cunit/cu_tree.c

index a03d5df698aef90b380db2f0c1ce980f44d141ac..be9738b224a5949ce70af5bd04feafe95e7f1cb1 100644 (file)
@@ -346,7 +346,7 @@ static void test_tree_circ_distance_threshold(void)
 
        for ( j = 0; j < npolys; j++ )
        {
-               LWGEOM *lwg1 = lwgeom_from_hexwkb(txt_poly2, LW_PARSER_CHECK_NONE);
+               LWGEOM *lwg1 = lwgeom_from_hexwkb(polys[j], LW_PARSER_CHECK_NONE);
                LWGEOM *lwg2 = lwgeom_from_wkt("POINT(-69.83262 43.43636)", LW_PARSER_CHECK_NONE);
        
                CIRC_NODE *c1 = lwgeom_calculate_circ_tree(lwg1);