From: Florian Forster Date: Thu, 1 Jun 2006 20:11:57 +0000 (+0200) Subject: Cast `size_t' to `unsigned int'. Needed by Mac OS X. X-Git-Tag: liboping-0.2.1~3 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=73b98f02b6edf344dce0d88662f28a85112d601b;p=liboping.git Cast `size_t' to `unsigned int'. Needed by Mac OS X. This cast has been missed by the prefious fix because it was in the debugging code which was disabled then.. --- diff --git a/src/liboping.c b/src/liboping.c index c6e9df5..6dbb73f 100644 --- a/src/liboping.c +++ b/src/liboping.c @@ -370,7 +370,7 @@ static int ping_receive_one (int fd, pinghost_t *ph, struct timeval *now) return (-1); } - dprintf ("Read %i bytes from fd = %i\n", buffer_len, fd); + dprintf ("Read %u bytes from fd = %i\n", (unsigned int) buffer_len, fd); if (sa.ss_family == AF_INET) {