summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-01-30 16:29:38 +0000
committerNicholas Clark <nick@ccl4.org>2006-01-30 16:29:38 +0000
commit41d88b63af2cdca1570f463698afc3a8b2335092 (patch)
treedd60473fb2f84e1ab221f467bd12c11a3115b71d /hv.c
parent51d941aefad9cfe92a7afbbddcebc6bceb28f312 (diff)
downloadperl-41d88b63af2cdca1570f463698afc3a8b2335092.tar.gz
Avoid a warning from the Irix C compiler.
p4raw-id: //depot/perl@27005
Diffstat (limited to 'hv.c')
-rw-r--r--hv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hv.c b/hv.c
index 0ab2558de9..fe43f5088a 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;