summaryrefslogtreecommitdiff
path: root/src/path.c
diff options
context:
space:
mode:
authorPierre-Olivier Latour <pol@mac.com>2015-06-17 09:00:23 -0700
committerPierre-Olivier Latour <pol@mac.com>2015-06-17 09:00:23 -0700
commit85a5e8ebe171afa948e0ad18fe3769e0fe1244b5 (patch)
tree7d08691ee769afbef520e4d80666490e13383f2e /src/path.c
parent83a04a69da717aee7f313433b6b1eb7e3c4ebdec (diff)
downloadlibgit2-85a5e8ebe171afa948e0ad18fe3769e0fe1244b5.tar.gz
Fixed Xcode 6.1 build warnings
Diffstat (limited to 'src/path.c')
-rw-r--r--src/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path.c b/src/path.c
index c04b50622..c2c90e48d 100644
--- a/src/path.c
+++ b/src/path.c
@@ -891,7 +891,7 @@ void git_path_iconv_clear(git_path_iconv_t *ic)
int git_path_iconv(git_path_iconv_t *ic, const char **in, size_t *inlen)
{
- char *nfd = *in, *nfc;
+ char *nfd = (char*)*in, *nfc;
size_t nfdlen = *inlen, nfclen, wantlen = nfdlen, alloclen, rv;
int retry = 1;