aboutsummaryrefslogtreecommitdiff
path: root/lcorolib.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 /lcorolib.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 'lcorolib.c')
-rw-r--r--lcorolib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lcorolib.c b/lcorolib.c
index 4d47ea28..7d6e585b 100644
--- a/lcorolib.c
+++ b/lcorolib.c
@@ -116,7 +116,8 @@ static int luaB_yield (lua_State *L) {
116#define COS_NORM 3 116#define COS_NORM 3
117 117
118 118
119static const char *statname[] = {"running", "dead", "suspended", "normal"}; 119static const char *const statname[] =
120 {"running", "dead", "suspended", "normal"};
120 121
121 122
122static int auxstatus (lua_State *L, lua_State *co) { 123static int auxstatus (lua_State *L, lua_State *co) {