1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-11 13:06:59 +03:00

Attempt to fix Windows build

This commit is contained in:
Rui Ueyama 2024-03-21 10:42:28 +09:00
parent caad70dd6f
commit b10f818106

View File

@ -61,7 +61,7 @@ std::string errno_string() {
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPTSTR)&buf, 0, nullptr);
std::string ret = buf;
std::string ret = (char *)buf;
LocalFree(buf);
return ret;
}