Skip to content

Commit a67b842

Browse files
committed
Merge pull request #13 from larzconwell/compare_signed_unsigned
Fix warnings about compaing size_t and int.
2 parents 301b0ec + f3912ea commit a67b842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commander.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ parse_argname(const char *str, char *flag, char *arg) {
108108
size_t flagpos = 0;
109109
size_t argpos = 0;
110110
size_t len = strlen(str);
111-
int i;
111+
size_t i;
112112

113113
for (i = 0; i < len; ++i) {
114114
if (buffer || '[' == str[i] || '<' == str[i]) {

0 commit comments

Comments
 (0)