From 776944728345c000e8802f645942964bae8c80a4 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 3 Jul 2002 17:35:49 +0000 Subject: [PATCH] Fixed a couple minor compiler warnings. --- simgear/misc/props.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/simgear/misc/props.cxx b/simgear/misc/props.cxx index 6b8ce677..0abecaa1 100644 --- a/simgear/misc/props.cxx +++ b/simgear/misc/props.cxx @@ -2040,7 +2040,7 @@ void SGPropertyNode::fireValueChanged (SGPropertyNode * node) { if (_listeners != 0) { - for (int i = 0; i < _listeners->size(); i++) { + for (unsigned int i = 0; i < _listeners->size(); i++) { (*_listeners)[i]->valueChanged(node); } } @@ -2053,7 +2053,7 @@ SGPropertyNode::fireChildAdded (SGPropertyNode * parent, SGPropertyNode * child) { if (_listeners != 0) { - for (int i = 0; i < _listeners->size(); i++) { + for (unsigned int i = 0; i < _listeners->size(); i++) { (*_listeners)[i]->childAdded(parent, child); } } @@ -2066,7 +2066,7 @@ SGPropertyNode::fireChildRemoved (SGPropertyNode * parent, SGPropertyNode * child) { if (_listeners != 0) { - for (int i = 0; i < _listeners->size(); i++) { + for (unsigned int i = 0; i < _listeners->size(); i++) { (*_listeners)[i]->childRemoved(parent, child); } }