summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1c7d7c5)
raw | patch | inline | side by side (parent: 1c7d7c5)
author | Florian Forster <octo@verplant.org> | |
Thu, 1 Jun 2006 07:38:30 +0000 (09:38 +0200) | ||
committer | Florian Forster <octo@verplant.org> | |
Thu, 1 Jun 2006 07:38:30 +0000 (09:38 +0200) |
It's not always automatically an unsigned int on other platforms, e.g. Mac OS X.
src/oping.c | patch | blob | history |
diff --git a/src/oping.c b/src/oping.c
index 975fa5ccc27f542bacc57c1f9dc2d410542d004b..18724f4c2d289bf34e1795b076a7c63a284a8d6b 100644 (file)
--- a/src/oping.c
+++ b/src/oping.c
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);
}