diff options
author | Ben Straub <bs@github.com> | 2013-08-10 15:11:19 -0700 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2013-08-10 15:11:19 -0700 |
commit | 0e26fca1daa11a3108960dee3cb555b4c482ad81 (patch) | |
tree | 225454f62e398b8093355b4057eeb1748d64e2bb /src/win32 | |
parent | aa0af72933424bcf778db29c63c3727b25052c27 (diff) | |
download | libgit2-0e26fca1daa11a3108960dee3cb555b4c482ad81.tar.gz |
Make utf-8 source strings unlimited
Diffstat (limited to 'src/win32')
-rw-r--r-- | src/win32/utf-conv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win32/utf-conv.h b/src/win32/utf-conv.h index 7290f1d1a..66422e17c 100644 --- a/src/win32/utf-conv.h +++ b/src/win32/utf-conv.h @@ -21,12 +21,12 @@ int git__utf8_to_16(wchar_t * dest, size_t dest_size, const char *src); // dest_size is the size of dest in char's int git__utf16_to_8(char *dest, size_t dest_size, const wchar_t *src); -GIT_INLINE(int) git__win32_path_utf8_to_16(git_win32_path_utf16 dest, const git_win32_path_utf8 src) +GIT_INLINE(int) git__win32_path_utf8_to_16(git_win32_path_utf16 dest, const char *src) { return git__utf8_to_16(dest, GIT_WIN_PATH_UTF16, src); } -GIT_INLINE(int) git__win32_path_utf16_to_8(git_win32_path_utf8 dest, const git_win32_path_utf16 src) +GIT_INLINE(int) git__win32_path_utf16_to_8(git_win32_path_utf8 dest, const wchar_t *src) { return git__utf16_to_8(dest, GIT_WIN_PATH_UTF8, src); } |