Added (unsigned int) cast to the call to osg::minimum.

This commit is contained in:
Robert Osfield 2003-03-12 09:45:12 +00:00
parent b0dce04063
commit 88b686faca

View File

@ -33,7 +33,7 @@ struct look_ahead_iterator
look_ahead_iterator& operator += (int offset)
{
if (_index<_string.length()) _index = osg::minimum(_index+offset,_string.length());
if (_index<_string.length()) _index = osg::minimum((unsigned int)(_index+offset),(unsigned int)_string.length());
return *this;
}