summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-08-10 12:00:44 +0300
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-08-10 08:23:31 +0000
commit1d0eb99ac8ec0dfd859e9def067c632124d58343 (patch)
tree3b6a7e76c2e3c98243995b6f9331a9b2f8521ba1 /pp_sys.c
parent7c0dd7caddd4c6aa0c561002ae25414a8910234e (diff)
downloadperl-1d0eb99ac8ec0dfd859e9def067c632124d58343.tar.gz
g++: gethostbyaddr, and more Tru64 defines
Message-ID: <44DACB8C.1080708@iki.fi> p4raw-id: //depot/perl@28689
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 9068b0e61a..a7c94144ff 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -4651,7 +4651,7 @@ PP(pp_ghostent)
STRLEN addrlen;
Netdb_host_t addr = (Netdb_host_t) SvPVbyte(addrsv, addrlen);
- hent = PerlSock_gethostbyaddr((const void*)addr, (Netdb_hlen_t) addrlen, addrtype);
+ hent = PerlSock_gethostbyaddr((const char*)addr, (Netdb_hlen_t) addrlen, addrtype);
#else
DIE(aTHX_ PL_no_sock_func, "gethostbyaddr");
#endif