From: Nicholas Clark Date: Mon, 30 Jan 2006 16:29:38 +0000 (+0000) Subject: Avoid a warning from the Irix C compiler. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=41d88b63af2cdca1570f463698afc3a8b2335092;p=p5sagit%2Fp5-mst-13.2.git Avoid a warning from the Irix C compiler. p4raw-id: //depot/perl@27005 --- diff --git a/hv.c b/hv.c index 0ab2558..fe43f50 100644 --- a/hv.c +++ b/hv.c @@ -637,7 +637,7 @@ S_hv_fetch_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, } if (is_utf8) { - char * const keysave = (char * const)key; + char * const keysave = (char *)key; key = (char*)bytes_from_utf8((U8*)key, &klen, &is_utf8); if (is_utf8) flags |= HVhek_UTF8;