summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2011-09-08 14:20:19 -0700
committerVicent Martí <tanoku@gmail.com>2011-09-08 14:20:19 -0700
commit3f3f6225f8237e974b135de30eaac731c929936e (patch)
tree74e79db35482c110aa9bf50cb06ce23dc045275b /src/util.c
parent564f0f7be1d962fdb3bdc42e7e47db9c1ce960ec (diff)
parentbac47f1ff8c6684671c67000c747a6b0a7f2c6dc (diff)
downloadlibgit2-3f3f6225f8237e974b135de30eaac731c929936e.tar.gz
Merge pull request #391 from sschuberth/development
Warning fixes
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]);