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

View File

@@ -116,7 +116,8 @@ static int luaB_yield (lua_State *L) {
#define COS_NORM 3
static const char *statname[] = {"running", "dead", "suspended", "normal"};
static const char *const statname[] =
{"running", "dead", "suspended", "normal"};
static int auxstatus (lua_State *L, lua_State *co) {