diff options
Diffstat (limited to 'ldump.c')
-rw-r--r-- | ldump.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -198,11 +198,9 @@ static void DumpFunction (const Proto *f, TString *psource, DumpState *D) { | |||
198 | 198 | ||
199 | static void DumpHeader (DumpState *D) { | 199 | static void DumpHeader (DumpState *D) { |
200 | DumpLiteral(LUA_SIGNATURE, D); | 200 | DumpLiteral(LUA_SIGNATURE, D); |
201 | DumpByte(LUAC_VERSION, D); | 201 | DumpInt(LUAC_VERSION, D); |
202 | DumpByte(LUAC_FORMAT, D); | 202 | DumpByte(LUAC_FORMAT, D); |
203 | DumpLiteral(LUAC_DATA, D); | 203 | DumpLiteral(LUAC_DATA, D); |
204 | DumpByte(sizeof(int), D); | ||
205 | DumpByte(sizeof(size_t), D); | ||
206 | DumpByte(sizeof(Instruction), D); | 204 | DumpByte(sizeof(Instruction), D); |
207 | DumpByte(sizeof(lua_Integer), D); | 205 | DumpByte(sizeof(lua_Integer), D); |
208 | DumpByte(sizeof(lua_Number), D); | 206 | DumpByte(sizeof(lua_Number), D); |