projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Detypos (and sticking with US spelling since Dan Sugalski
[p5sagit/p5-mst-13.2.git]
/
sv.c
diff --git
a/sv.c
b/sv.c
index
225ee06
..
7e6bc2d
100644
(file)
--- 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);