Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9456434
)
Got rid of a compiler warning.
author
Wayne Davison
<wayned@samba.org>
Thu, 8 Nov 2007 20:30:17 +0000
(20:30 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 8 Nov 2007 20:30:17 +0000
(20:30 +0000)
lib/getaddrinfo.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/getaddrinfo.c
b/lib/getaddrinfo.c
index
838e708
..
0261f78
100644
(file)
--- a/
lib/getaddrinfo.c
+++ b/
lib/getaddrinfo.c
@@
-113,7
+113,7
@@
static char *get_canon_name_from_addr(struct in_addr ip,
int *perr)
{
return canon_name_from_hostent(
int *perr)
{
return canon_name_from_hostent(
- gethostbyaddr(
&ip, sizeof(ip)
, AF_INET),
+ gethostbyaddr(
(void *)&ip, sizeof ip
, AF_INET),
perr);
}
perr);
}