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:
parent
caad70dd6f
commit
b10f818106
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user