Fix type of mc_port and asprintf format string.