summaryrefslogtreecommitdiff
path: root/src/win32/posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32/posix.h')
-rw-r--r--src/win32/posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/posix.h b/src/win32/posix.h
index ddab88a32..da46cf514 100644
--- a/src/win32/posix.h
+++ b/src/win32/posix.h
@@ -23,7 +23,7 @@ GIT_INLINE(int) p_mkdir(const char *path, mode_t mode)
{
wchar_t buf[GIT_WIN_PATH];
GIT_UNUSED(mode);
- git__utf8_to_16(buf, path);
+ git__utf8_to_16(buf, GIT_WIN_PATH, path);
return _wmkdir(buf);
}