Fixed a warning and other minor issues

Fixed some minor issues from the feedback for 5.4-beta rc1.
This commit is contained in:
Roberto Ierusalimschy
2019-10-04 16:17:04 -03:00
parent b98d41db99
commit 7bd1e53753
6 changed files with 9 additions and 8 deletions

2
lgc.c
View File

@@ -998,7 +998,7 @@ static void sweep2old (lua_State *L, GCObject **p) {
*/
static GCObject **sweepgen (lua_State *L, global_State *g, GCObject **p,
GCObject *limit) {
static lu_byte nextage[] = {
static const lu_byte nextage[] = {
G_SURVIVAL, /* from G_NEW */
G_OLD1, /* from G_SURVIVAL */
G_OLD1, /* from G_OLD0 */