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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win32/posix.h b/src/win32/posix.h
index 7803c9c84..0d5effe08 100644
--- a/src/win32/posix.h
+++ b/src/win32/posix.h
@@ -20,9 +20,9 @@ GIT_INLINE(int) p_link(const char *old, const char *new)
GIT_INLINE(int) p_mkdir(const char *path, mode_t mode)
{
- git_win32_path_utf16 buf;
+ git_win32_path buf;
GIT_UNUSED(mode);
- git__win32_path_utf8_to_16(buf, path);
+ git__win32_path_from_c(buf, path);
return _wmkdir(buf);
}