diff --git a/src/dobjtype.cpp b/src/dobjtype.cpp index 1649ca46a..4e0cdf9ea 100644 --- a/src/dobjtype.cpp +++ b/src/dobjtype.cpp @@ -490,7 +490,7 @@ size_t PSymbolTable::MarkSymbols() GC::Mark(pair->Value); count++; } - return count * sizeof(Symbols[0]); + return count * sizeof(PSymbol*); } void PSymbolTable::ReleaseSymbols()