From e9eff495255f6597233d54ad40ac1efe3f4d416f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 7 Nov 2015 10:34:27 +0100 Subject: Merging upstream version 1.14. Signed-off-by: Daniel Baumann --- arg_parser.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arg_parser.cc') 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++]; } -- cgit v1.2.3