projects
/
liboping.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c7d7c5
)
Cast (size_t) to (unsigned int).
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
975fa5c
..
18724f4
100644
(file)
--- 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);
}