Added static_cast

This commit is contained in:
Andreas Fabri 2010-06-25 06:56:45 +00:00
parent 796e9b30cd
commit f6c700da1b
1 changed files with 1 additions and 1 deletions

View File

@ -766,7 +766,7 @@ int test_zone ( Zone& rZone )
{
if ( sOffsetAtEntry.size() > 0 )
{
int lSize = std::distance(lTimes.begin(),lTimes.end());
int lSize = static_cast<int>(std::distance(lTimes.begin(),lTimes.end()));
for ( std::vector<int>::const_iterator oi = sOffsetAtEntry.begin() ; oi != sOffsetAtEntry.end() ; ++ oi )
{