From: Nicholas Clark Date: Mon, 30 May 2005 07:43:05 +0000 (+0000) Subject: Need a cast to avoid a compiler warning. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0b4b7f425bbb7f4f6f4a885d16efb0978cf3643f;p=p5sagit%2Fp5-mst-13.2.git Need a cast to avoid a compiler warning. p4raw-id: //depot/perl@24621 --- diff --git a/ext/ByteLoader/bytecode.h b/ext/ByteLoader/bytecode.h index a503627..70a7238 100644 --- a/ext/ByteLoader/bytecode.h +++ b/ext/ByteLoader/bytecode.h @@ -347,7 +347,7 @@ typedef char *pvindex; mg_set(*hv_store(GvHV(gv_fetchpv("SIG", TRUE, SVt_PVHV)), \ name, strlen(name), cv, 0)) -#define BSET_xhv_name(hv, name) Perl_hv_name_set(aTHX_ hv, name, strlen(name), 0) +#define BSET_xhv_name(hv, name) Perl_hv_name_set(aTHX_ (HV*)hv, name, strlen(name), 0) /* NOTE: the bytecode header only sanity-checks the bytecode. If a script cares about * what version of Perl it's being called under, it should do a 'use 5.006_001' or