Skip to content

Commit 295996e

Browse files
committed
commandlineflags: Fix compiler warnings (signed/unsigned)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent eb14726 commit 295996e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/training/commandlineflags.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ void ParseCommandLineFlags(const char* usage,
166166
exit(0);
167167
}
168168

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

0 commit comments

Comments
 (0)