Skip to content

Commit

Permalink
fix: lua compilation warnings (#3098)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 authored Aug 29, 2023
1 parent b75232a commit f05ba5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lua/lundump.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,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, &LUA_SIGNATURE[1], "not a"); /* 1st char already checked */
if (LoadByte(S) != LUAC_VERSION)
error(S, "version mismatch in");
if (LoadByte(S) != LUAC_FORMAT)
Expand Down

0 comments on commit f05ba5c

Please sign in to comment.