sv_clear can manipulate the arena array directly too.
[p5sagit/p5-mst-13.2.git] / pp_sys.c
index 3bfff96..65971c1 100644 (file)
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -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