Return 0xdead instead of -1 on error

This commit is contained in:
Camden Dixie O'Brien 2024-10-24 20:09:55 +01:00
parent 7b0f94ce98
commit 06bf0a1930

View File

@ -16,6 +16,6 @@ int evaluate(const expression_t *expression)
case OPERATOR_DIVIDE:
return x / y;
default:
return -1;
return 0xdead;
}
}