Fix lua compile error on most targets, introduced in 8d77ec8

Change-Id: I217f78a9e348a18552563c6c3b235c9aed956f54
This commit is contained in:
Solomon Peachy 2019-08-08 09:07:09 -04:00
parent 8d77ec88a5
commit a430e275dd

View file

@ -253,7 +253,7 @@ static int stripdebug (lua_State *L, Proto *f, const int level) {
case 3: case 3:
len += f->sizelineinfo; len += f->sizelineinfo;
f->packedlineinfo = luaM_freearray(L, f->packedlineinfo, f->sizelineinfo, unsigned char); f->packedlineinfo = luaM_freearray(L, f->packedlineinfo, f->sizelineinfo, unsigned char);
f->f->sizelineinfo = 0; f->sizelineinfo = 0;
case 2: case 2:
len += f->sizelocvars * (sizeof(struct LocVar) + sizeof(dummy->tsv) + sizeof(struct LocVar *)); len += f->sizelocvars * (sizeof(struct LocVar) + sizeof(dummy->tsv) + sizeof(struct LocVar *));
f->locvars = luaM_freearray(L, f->locvars, f->sizelocvars, struct LocVar); f->locvars = luaM_freearray(L, f->locvars, f->sizelocvars, struct LocVar);