++ptr (sorry, I don't know C++ lol)

This commit is contained in:
LoganDark 2021-11-08 13:33:36 -08:00
parent d6ef1dc15f
commit 5c8971b895
No known key found for this signature in database
GPG key ID: B8C37CEDE1AC60EA

View file

@ -3710,7 +3710,7 @@ void compileOrThrow(BytecodeBuilder& bytecode, AstStatBlock* root, const AstName
} }
if (options.mutableGlobalNames) if (options.mutableGlobalNames)
for (const char** ptr = options.mutableGlobalNames; *ptr != NULL; ptr += sizeof(const char*)) for (const char** ptr = options.mutableGlobalNames; *ptr != NULL; ++ptr)
{ {
AstName name = names.get(*ptr); AstName name = names.get(*ptr);