diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-10-04 16:17:04 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-10-04 16:17:04 -0300 |
commit | 7bd1e53753de7176eb0b23f2bf19ad2235dec826 (patch) | |
tree | 6b8be4dcec4e71ccf6e85f3bfa95a7bfd544714f /lgc.c | |
parent | b98d41db99969f6336c32cb67274093b9a548d39 (diff) | |
download | lua-7bd1e53753de7176eb0b23f2bf19ad2235dec826.tar.gz lua-7bd1e53753de7176eb0b23f2bf19ad2235dec826.tar.bz2 lua-7bd1e53753de7176eb0b23f2bf19ad2235dec826.zip |
Fixed a warning and other minor issues
Fixed some minor issues from the feedback for 5.4-beta rc1.
Diffstat (limited to '')
-rw-r--r-- | lgc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -998,7 +998,7 @@ static void sweep2old (lua_State *L, GCObject **p) { | |||
998 | */ | 998 | */ |
999 | static GCObject **sweepgen (lua_State *L, global_State *g, GCObject **p, | 999 | static GCObject **sweepgen (lua_State *L, global_State *g, GCObject **p, |
1000 | GCObject *limit) { | 1000 | GCObject *limit) { |
1001 | static lu_byte nextage[] = { | 1001 | static const lu_byte nextage[] = { |
1002 | G_SURVIVAL, /* from G_NEW */ | 1002 | G_SURVIVAL, /* from G_NEW */ |
1003 | G_OLD1, /* from G_SURVIVAL */ | 1003 | G_OLD1, /* from G_SURVIVAL */ |
1004 | G_OLD1, /* from G_OLD0 */ | 1004 | G_OLD1, /* from G_OLD0 */ |