This is pre-existing in the code base and we don't have `MAXINT` or `MAX_INT` defined.  Please open a Redmine ticket for that refactoring, but not now.