Fix type of mc_port and asprintf format string.
Merge pull request #1 from kuriyama/master

Fix type of mc_port and asprintf format string.