diff options
author | Sebastian Schuberth <sschuberth@gmail.com> | 2011-09-08 14:21:17 +0200 |
---|---|---|
committer | Sebastian Schuberth <sschuberth@gmail.com> | 2011-09-08 17:07:37 +0200 |
commit | 26e74c6acedaec5c76944ac1f1a0f9215f23737f (patch) | |
tree | 2fe1169f6f54edec0b968d1c515251ac346578eb /src/util.c | |
parent | 564f0f7be1d962fdb3bdc42e7e47db9c1ce960ec (diff) | |
download | libgit2-26e74c6acedaec5c76944ac1f1a0f9215f23737f.tar.gz |
Fix some random size_t vs. int conversion warnings
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c index 29bf755f8..a171f652c 100644 --- a/src/util.c +++ b/src/util.c @@ -118,9 +118,9 @@ Return: return GIT_SUCCESS; } -void git__strntolower(char *str, int len) +void git__strntolower(char *str, size_t len) { - int i; + size_t i; for (i = 0; i < len; ++i) { str[i] = (char) tolower(str[i]); |