summaryrefslogtreecommitdiff
path: root/src/win32
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-08-13 09:31:03 +0200
committerVicent Marti <tanoku@gmail.com>2013-08-13 09:31:03 +0200
commit53d712dcb9d74979a3c678336c97e2f7564aadbe (patch)
treec1dd39fb5d291ac8a9f609ce6ea3aa2b3776abf5 /src/win32
parentabf3732728d0af42ed7217c7148509c8aa30a7e5 (diff)
downloadlibgit2-53d712dcb9d74979a3c678336c97e2f7564aadbe.tar.gz
windows: Missing renames.
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/posix.h4
-rw-r--r--src/win32/utf-conv.h2
2 files changed, 3 insertions, 3 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);
}
diff --git a/src/win32/utf-conv.h b/src/win32/utf-conv.h
index 3cfb3514e..967db859e 100644
--- a/src/win32/utf-conv.h
+++ b/src/win32/utf-conv.h
@@ -25,7 +25,7 @@ GIT_INLINE(int) git__win32_path_from_c(git_win32_path dest, const char *src)
return git__utf8_to_16(dest, GIT_WIN_PATH_UTF16, src);
}
-GIT_INLINE(int) git__win32_path_to_c(char *dest, const git_win32_path *src)
+GIT_INLINE(int) git__win32_path_to_c(char *dest, const git_win32_path src)
{
return git__utf16_to_8(dest, GIT_WIN_PATH_UTF8, src);
}