Removed uses of LUA_NUMTAGS

That constant was already deprecated (see commit 6aabf4b15e).
This commit is contained in:
Roberto Ierusalimschy
2024-01-13 18:10:50 -03:00
parent d862da6d04
commit 8eb0abc9db
4 changed files with 4 additions and 6 deletions

2
lgc.c
View File

@@ -330,7 +330,7 @@ static void reallymarkobject (global_State *g, GCObject *o) {
*/
static void markmt (global_State *g) {
int i;
for (i=0; i < LUA_NUMTAGS; i++)
for (i=0; i < LUA_NUMTYPES; i++)
markobjectN(g, g->mt[i]);
}