summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorSebastian Schuberth <sschuberth@gmail.com>2011-09-08 14:21:17 +0200
committerSebastian Schuberth <sschuberth@gmail.com>2011-09-08 17:07:37 +0200
commit26e74c6acedaec5c76944ac1f1a0f9215f23737f (patch)
tree2fe1169f6f54edec0b968d1c515251ac346578eb /src/util.c
parent564f0f7be1d962fdb3bdc42e7e47db9c1ce960ec (diff)
downloadlibgit2-26e74c6acedaec5c76944ac1f1a0f9215f23737f.tar.gz
Fix some random size_t vs. int conversion warnings
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c4
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]);