File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -272,16 +272,16 @@ namespace boost { namespace program_options { namespace detail {
272
272
if (!xd)
273
273
continue ;
274
274
275
- int min_tokens = xd->semantic ()->min_tokens ();
276
- int max_tokens = xd->semantic ()->max_tokens ();
275
+ unsigned min_tokens = xd->semantic ()->min_tokens ();
276
+ unsigned max_tokens = xd->semantic ()->max_tokens ();
277
277
if (min_tokens < max_tokens && opt.value .size () < max_tokens)
278
278
{
279
279
// This option may grab some more tokens.
280
280
// We only allow to grab tokens that are not already
281
281
// recognized as key options.
282
282
283
283
int can_take_more = max_tokens - opt.value .size ();
284
- int j = i+1 ;
284
+ unsigned j = i+1 ;
285
285
for (; can_take_more && j < result.size (); --can_take_more, ++j)
286
286
{
287
287
option& opt2 = result[j];
You can’t perform that action at this time.
0 commit comments