Force console_port to int.