Cast PORT variable to int.