mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
3rdparty/lua: Fix clang 9 compile. (nw)
This commit is contained in:
parent
672f9b092a
commit
d208ca5105
2
3rdparty/lua/src/lundump.c
vendored
2
3rdparty/lua/src/lundump.c
vendored
@ -234,7 +234,7 @@ static void fchecksize (LoadState *S, size_t size, const char *tname) {
|
||||
#define checksize(S,t) fchecksize(S,sizeof(t),#t)
|
||||
|
||||
static void checkHeader (LoadState *S) {
|
||||
checkliteral(S, LUA_SIGNATURE + 1, "not a"); /* 1st char already checked */
|
||||
checkliteral(S, (const char *)(LUA_SIGNATURE) + 1, "not a"); /* 1st char already checked */
|
||||
if (LoadByte(S) != LUAC_VERSION)
|
||||
error(S, "version mismatch in");
|
||||
if (LoadByte(S) != LUAC_FORMAT)
|
||||
|
Loading…
Reference in New Issue
Block a user