Skip to content

Commit

Permalink
Attempt to fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
rui314 committed Mar 21, 2024
1 parent caad70d commit b10f818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b10f818

Please sign in to comment.