From 73b98f02b6edf344dce0d88662f28a85112d601b Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 1 Jun 2006 22:11:57 +0200 Subject: [PATCH] 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.. --- src/liboping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2