diff --git a/src/osg/ApplicationUsage.cpp b/src/osg/ApplicationUsage.cpp index 2b83c7241..df6800d38 100644 --- a/src/osg/ApplicationUsage.cpp +++ b/src/osg/ApplicationUsage.cpp @@ -72,8 +72,8 @@ void ApplicationUsage::getFormatedString(std::string& str, const UsageMap& um,un line.replace(optionPos,optionWidth,citr->first); const std::string& explanation = citr->second; - unsigned int pos = 0; - unsigned int offset = 0; + std::string::size_type pos = 0; + std::string::size_type offset = 0; bool firstInLine = true; while (pos