1
0
Fork 0

Fixed a compile warning.

This commit is contained in:
curt 2003-03-13 20:23:15 +00:00
parent c5ab6678f2
commit ba3114a8b5

View file

@ -96,7 +96,7 @@ add_polygon (SGPropertyNode_ptr node)
AreaType material = AreaType material =
get_area_type(node->getStringValue("material", "Default")); get_area_type(node->getStringValue("material", "Default"));
vector<SGPropertyNode_ptr> contour_nodes = node->getChildren("contour"); vector<SGPropertyNode_ptr> contour_nodes = node->getChildren("contour");
for (int i = 0; i < contour_nodes.size(); i++) { for (unsigned int i = 0; i < contour_nodes.size(); i++) {
SGPropertyNode_ptr contour_node = contour_nodes[i]; SGPropertyNode_ptr contour_node = contour_nodes[i];
Point3D p; Point3D p;
const char * s = contour_node->getStringValue("v"); const char * s = contour_node->getStringValue("v");