[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua 5.3 - lapi.cpp - lua_gc - oldrunning - type
- From: Tomáš Klinkovský <tklink@...>
- Date: Mon, 15 Jun 2015 13:35:20 +0200 (CEST)
Hi,
the function lua_gc (lapi.cpp of Lua 5.3) contains this code fragment:
case LUA_GCSTEP: {
...
int oldrunning = g->gcrunning;
...
g->gcrunning = oldrunning;
...
}
The type of g->gcrunning is lu_byte. It would be more appropriate to use the same lu_byte type also for the oldrunning variable, wouldn't it?
Thank you
Tomáš Klinkovský