projects
/
liboping.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a080a75
)
Cast `size_t' to `unsigned int'. Needed by Mac OS X.
author
Florian Forster
<octo@verplant.org>
Thu, 1 Jun 2006 20:11:57 +0000
(22:11 +0200)
committer
Florian Forster
<octo@verplant.org>
Thu, 1 Jun 2006 20:11:57 +0000
(22:11 +0200)
This cast has been missed by the prefious fix because it was in the debugging
code which was disabled then..
src/liboping.c
patch
|
blob
|
history
diff --git
a/src/liboping.c
b/src/liboping.c
index
c6e9df5
..
6dbb73f
100644
(file)
--- 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)
{