dont use NULL macro

This commit is contained in:
IlyaShurupov 2024-03-23 12:16:44 +03:00 committed by Ilya Shurupov
parent 9d01ba2c8a
commit e78885d452
16 changed files with 52 additions and 52 deletions

View file

@ -15,7 +15,7 @@ void OperandStack::push(Operand operand) {
}
void OperandStack::pop() {
ASSERT(mIdx != NULL && "stack overflow");
ASSERT(mIdx != 0 && "stack overflow");
mIdx--;
}