diff options
author | Steve Peters <steve@fisharerojo.org> | 2005-11-11 22:47:06 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2005-11-11 22:47:06 +0000 |
commit | 5bf7026a60a2e5536d6f6c6d3b2c6d38669c9b81 (patch) | |
tree | 2bc3b96903a0d6eef7fdd45a03f0ce43558d7765 /pp_sys.c | |
parent | a49b57c670c0e84581cdf732a6a8c6ba17aa39b1 (diff) | |
download | perl-5bf7026a60a2e5536d6f6c6d3b2c6d38669c9b81.tar.gz |
const'ing Netdb_host_t broke HP-UX and created warnings on gcc for a double const.
Netdb_host_t is a macro that for a const pointer.
p4raw-id: //depot/perl@26090
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4498,7 +4498,7 @@ PP(pp_ghostent) const int addrtype = POPi; SV * const addrsv = POPs; STRLEN addrlen; - const Netdb_host_t addr = (Netdb_host_t) SvPVbyte(addrsv, addrlen); + Netdb_host_t addr = (Netdb_host_t) SvPVbyte(addrsv, addrlen); hent = PerlSock_gethostbyaddr(addr, (Netdb_hlen_t) addrlen, addrtype); #else |