Commit 9af59f5d by Boris Barbulovski Committed by GitHub

Properly pass `wchar *` type to giterr_set

parent 86364af9
......@@ -174,7 +174,7 @@ GIT_INLINE(int) git_win32__file_attribute_to_stat(
/* st_size gets the UTF-8 length of the target name, in bytes,
* not counting the NULL terminator */
if ((st->st_size = git__utf16_to_8(NULL, 0, target)) < 0) {
giterr_set(GITERR_OS, "Could not convert reparse point name for '%S'", path);
giterr_set(GITERR_OS, "Could not convert reparse point name for '%ls'", path);
return -1;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment