From: curt Date: Sat, 24 Jul 2004 19:21:15 +0000 (+0000) Subject: Fix a minor warning message. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=93314b59fbaf32daa38ca17562db71e0cf81f6e1;p=simgear.git Fix a minor warning message. --- diff --git a/simgear/scene/model/animation.cxx b/simgear/scene/model/animation.cxx index b6f9ecbc..a9a5dbe2 100644 --- a/simgear/scene/model/animation.cxx +++ b/simgear/scene/model/animation.cxx @@ -456,9 +456,9 @@ void SGTimedAnimation::init() { if ( !_use_personality ) { - for ( size_t i = 0; i < getBranch()->getNumKids(); i++ ) { + for ( int i = 0; i < getBranch()->getNumKids(); i++ ) { double v; - if ( i < _branch_duration_specs.size() ) { + if ( i < (int)_branch_duration_specs.size() ) { DurationSpec &sp = _branch_duration_specs[ i ]; v = sp._min + sg_random() * ( sp._max - sp._min ); } else {