From 1a6e3fd8fd64b0e17438e6374419417b6903cd79 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 1 Jun 2006 09:38:30 +0200 Subject: [PATCH] Cast (size_t) to (unsigned int). It's not always automatically an unsigned int on other platforms, e.g. Mac OS X. --- src/oping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oping.c b/src/oping.c index 975fa5c..18724f4 100644 --- a/src/oping.c +++ b/src/oping.c @@ -322,7 +322,7 @@ int main (int argc, char **argv) ping_iterator_get_info (iter, PING_INFO_DATA, NULL, &buffer_size); printf ("PING %s (%s) %u bytes of data.\n", - context->host, context->addr, buffer_size); + context->host, context->addr, (unsigned int) buffer_size); ping_iterator_set_context (iter, (void *) context); } -- 2.11.0