Changed an int to std::string::size_type

This commit is contained in:
John Wiegley 2012-02-10 20:11:14 -10:00
parent 6e584ca176
commit 6983a56a23

View file

@ -219,7 +219,7 @@ strings_list process_arguments(strings_list args, scope_t& scope)
std::list<op_bool_char_tuple> option_queue;
int x = 1;
std::string::size_type x = 1;
for (char c = (*i)[x]; c != '\0'; x++, c = (*i)[x]) {
op_bool_tuple opt(find_option(scope, c));
if (! opt.first)