aboutsummaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-10-04 16:17:04 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-10-04 16:17:04 -0300
commit7bd1e53753de7176eb0b23f2bf19ad2235dec826 (patch)
tree6b8be4dcec4e71ccf6e85f3bfa95a7bfd544714f /lgc.c
parentb98d41db99969f6336c32cb67274093b9a548d39 (diff)
downloadlua-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lgc.c b/lgc.c
index f24074f9..cf62a45c 100644
--- a/lgc.c
+++ b/lgc.c
@@ -998,7 +998,7 @@ static void sweep2old (lua_State *L, GCObject **p) {
998*/ 998*/
999static GCObject **sweepgen (lua_State *L, global_State *g, GCObject **p, 999static 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 */