diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 09:34:27 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 09:34:27 +0000 |
commit | e9eff495255f6597233d54ad40ac1efe3f4d416f (patch) | |
tree | 2c8b6b9c2fdaf9b520a076259e8868a192151b23 /arg_parser.cc | |
parent | Adding debian version 1.13-4. (diff) | |
download | lzip-e9eff495255f6597233d54ad40ac1efe3f4d416f.tar.xz lzip-e9eff495255f6597233d54ad40ac1efe3f4d416f.zip |
Merging upstream version 1.14.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'arg_parser.cc')
-rw-r--r-- | arg_parser.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arg_parser.cc b/arg_parser.cc index b3fd48d..13bcbcb 100644 --- a/arg_parser.cc +++ b/arg_parser.cc @@ -36,7 +36,7 @@ bool Arg_parser::parse_long_option( const char * const opt, const char * const arg, const Option options[], int & argind ) { - unsigned int len; + unsigned len; int index = -1; bool exact = false, ambig = false; @@ -178,7 +178,7 @@ Arg_parser::Arg_parser( const int argc, const char * const argv[], if( error_.size() ) data.clear(); else { - for( unsigned int i = 0; i < non_options.size(); ++i ) + for( unsigned i = 0; i < non_options.size(); ++i ) { data.push_back( Record() ); data.back().argument.swap( non_options[i] ); } while( argind < argc ) { data.push_back( Record() ); data.back().argument = argv[argind++]; } |