summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-05-11 19:46:23 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-05-11 19:46:23 +0000
commita6bdc2eb98f4e9bd74b51ad84203021dea610d6b (patch)
tree71e5d42b3dcbed17e0fa3ba84ae52ca9797644cd /sv.c
parent308957f541b811baacac724110dfa4a630847c0e (diff)
downloadperl-a6bdc2eb98f4e9bd74b51ad84203021dea610d6b.tar.gz
Explicit casts due to #16542.
p4raw-id: //depot/perl@16547
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index 225ee06838..7e6bc2d7e4 100644
--- a/sv.c
+++ b/sv.c
@@ -6336,7 +6336,7 @@ Perl_newSVpvn_share(pTHX_ const char *src, I32 len, U32 hash)
len = tmplen;
}
if (!hash)
- PERL_HASH(hash, src, len);
+ PERL_HASH(hash, (U8*)src, len);
new_SV(sv);
sv_upgrade(sv, SVt_PVIV);
SvPVX(sv) = sharepvn(src, is_utf8?-len:len, hash);