From 93314b59fbaf32daa38ca17562db71e0cf81f6e1 Mon Sep 17 00:00:00 2001 From: curt Date: Sat, 24 Jul 2004 19:21:15 +0000 Subject: [PATCH] Fix a minor warning message. --- simgear/scene/model/animation.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.5