From 6983a56a23ae14f7ceeffc2c3867b29e6f518693 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 10 Feb 2012 20:11:14 -1000 Subject: [PATCH] Changed an int to std::string::size_type --- src/option.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/option.cc b/src/option.cc index f7008b47..02ae3040 100644 --- a/src/option.cc +++ b/src/option.cc @@ -219,7 +219,7 @@ strings_list process_arguments(strings_list args, scope_t& scope) std::list 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)