summaryrefslogtreecommitdiff
path: root/src/option.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/option.cc')
-rw-r--r--src/option.cc2
1 files changed, 1 insertions, 1 deletions
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<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)