summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index b271fa8df..ebc1f43d5 100644
--- a/src/util.c
+++ b/src/util.c
@@ -109,7 +109,7 @@ void git__strntolower(char *str, int len)
int i;
for (i = 0; i < len; ++i) {
- str[i] = tolower(str[i]);
+ str[i] = (char) tolower(str[i]);
}
}