Changed unsigned int to std::string::size_type.

This commit is contained in:
Robert Osfield
2003-04-01 18:50:36 +00:00
parent 5b36049f33
commit b59760482f

View File

@@ -291,7 +291,7 @@ void ArgumentParser::reportRemainingOptionsAsUnrecognized(ErrorSeverity severity
++itr)
{
const std::string& option = itr->first;
unsigned int prevpos = 0, pos = 0;
std::string::size_type prevpos = 0, pos = 0;
while ((pos=option.find(' ',prevpos))!=std::string::npos)
{
if (option[prevpos]=='-')