Skip to content

Commit

Permalink
commandlineflags: Fix compiler warnings (signed/unsigned)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Mar 2, 2019
1 parent eb14726 commit 295996e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/training/commandlineflags.cpp
Expand Up @@ -166,7 +166,7 @@ void ParseCommandLineFlags(const char* usage,
exit(0);
}

unsigned int i = 1;
int i;
for (i = 1; i < *argc; ++i) {
const char* current_arg = (*argv)[i];
// If argument does not start with a hyphen then break.
Expand Down

0 comments on commit 295996e

Please sign in to comment.