Don't specify 0u for initial value of loops changed to size_t

This commit is contained in:
Tim Wojtulewicz 2020-07-30 09:57:42 -07:00
parent 300efc7e04
commit a2c3919492
4 changed files with 16 additions and 16 deletions

View file

@ -250,7 +250,7 @@ zeek::Options zeek::parse_cmdline(int argc, char** argv)
// getopt may permute the array, so need yet another array
auto zargs = std::make_unique<char*[]>(zeek_args.size());
for ( size_t i = 0u; i < zeek_args.size(); ++i )
for ( size_t i = 0; i < zeek_args.size(); ++i )
zargs[i] = zeek_args[i].data();
while ( (op = getopt_long(zeek_args.size(), zargs.get(), opts, long_opts, &long_optsind)) != EOF )