diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2011-05-24 18:55:35 +0200 |
|---|---|---|
| committer | nulltoken <emeric.fermas@gmail.com> | 2011-05-24 18:55:35 +0200 |
| commit | 3a1c431011229fe641a23c129cfafa462558a03f (patch) | |
| tree | 970d310df23c7cfd61647c6edc5daa5a596c16b9 /src/util.c | |
| parent | 8146fe7cb9b2c8161ff7d773548237682b1e7a98 (diff) | |
| download | libgit2-3a1c431011229fe641a23c129cfafa462558a03f.tar.gz | |
Fix compilation warnings in MSVC
This allows to successfully build libgit2 with waf on Windows.
Diffstat (limited to 'src/util.c')
| -rw-r--r-- | src/util.c | 2 |
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]); } } |
