strings: Enable -Wconvert.

This commit is contained in:
Scott Prager
2014-11-19 15:23:11 -05:00
parent ecf81c3f20
commit f75de5e671
4 changed files with 27 additions and 29 deletions

View File

@@ -43,7 +43,7 @@ char *os_getenvname_at_index(size_t index)
if (str == NULL) {
return NULL;
}
int namesize = 0;
size_t namesize = 0;
while (str[namesize] != '=' && str[namesize] != NUL) {
namesize++;
}