1 --- iftop.c.old 2014-01-20 04:21:19.000000000 +0800
2 +++ iftop.c 2014-03-03 12:49:57.383335066 +0800
3 @@ -713,7 +713,7 @@ void packet_init() {
5 fprintf(stderr, "MAC address is:");
6 for (i = 0; i < 6; ++i)
7 - fprintf(stderr, "%c%02x", i ? ':' : ' ', (unsigned int)if_hw_addr[i]);
8 + fprintf(stderr, "%c%02x", i ? ':' : ' ', (unsigned char)if_hw_addr[i]);