Skip to content

Commit b4f0caf

Browse files
committed
Use size_t for loop indexing
1 parent 617e74e commit b4f0caf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate/templates/manual/src/str_array_converter.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ git_strarray *StrArrayConverter::ConvertArray(Array *val) {
2929
char **strings = (char **)malloc(sizeof(char*) * count);
3030
git_strarray *result;
3131

32-
for(int i = 0; i < count; i++) {
32+
for(size_t i = 0; i < count; i++) {
3333
NanUtf8String entry(val->Get(i));
3434
strings[i] = *entry;
3535
}

0 commit comments

Comments
 (0)