Fix a minor warning message.

This commit is contained in:
curt 2004-07-24 19:21:15 +00:00
parent 29269c6686
commit 93314b59fb

View File

@ -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 {