Code

Use error codes when checking parse_int() return value