From: curt Date: Wed, 3 Jul 2002 17:35:49 +0000 (+0000) Subject: Fixed a couple minor compiler warnings. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=776944728345c000e8802f645942964bae8c80a4;p=simgear.git Fixed a couple minor compiler warnings. --- 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); } }