Responding to PR comments

This commit is contained in:
Vyacheslav Egorov 2022-10-14 12:55:17 +03:00
parent 48fd16d4a9
commit 6a98d15fe7

View File

@ -94,7 +94,7 @@ void initHelperFunctions(NativeState& data)
"fast call tables are not of the same length");
// Replace missing fast call functions with an empty placeholder that forces LOP_CALL fallback
for (int i = 0; i < int(sizeof(data.context.luauF_table) / sizeof(data.context.luauF_table[0])); i++)
for (size_t i = 0; i < sizeof(data.context.luauF_table) / sizeof(data.context.luauF_table[0]); i++)
data.context.luauF_table[i] = luauF_table[i] ? luauF_table[i] : luauF_missing;
data.context.luaV_lessthan = luaV_lessthan;