diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-10 20:11:14 -1000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-17 15:09:33 -0600 |
commit | 6983a56a23ae14f7ceeffc2c3867b29e6f518693 (patch) | |
tree | 747271b69ca394fae5dceef19d6a77337307bc23 /src/option.cc | |
parent | 6e584ca1765e1b48a05e72d48a55ca85a640f29e (diff) | |
download | fork-ledger-6983a56a23ae14f7ceeffc2c3867b29e6f518693.tar.gz fork-ledger-6983a56a23ae14f7ceeffc2c3867b29e6f518693.tar.bz2 fork-ledger-6983a56a23ae14f7ceeffc2c3867b29e6f518693.zip |
Changed an int to std::string::size_type
Diffstat (limited to 'src/option.cc')
-rw-r--r-- | src/option.cc | 2 |
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) |