Skip to content

Commit

Permalink
Fix build on non-GCC (thanks for being so consistent, GCC).
Browse files Browse the repository at this point in the history
  • Loading branch information
well-in-that-case committed Aug 9, 2022
1 parent f74f124 commit 1043141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liolib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ static int filesize (lua_State *L) {
luaL_error(L, "path leads towards directory (%d)", val);

default:
luaL_error(L, "%s (%d)", msg, val);
luaL_error(L, "%s (%d)", msg.c_str(), val);
}
}

Expand Down

0 comments on commit 1043141

Please sign in to comment.