projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8989364
)
Forgotten from #16656.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 17 May 2002 21:46:04 +0000
(21:46 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 17 May 2002 21:46:04 +0000
(21:46 +0000)
p4raw-id: //depot/perl@16666
ext/B/B.xs
patch
|
blob
|
history
diff --git
a/ext/B/B.xs
b/ext/B/B.xs
index
0bae084
..
83c9c4a
100644
(file)
--- a/
ext/B/B.xs
+++ b/
ext/B/B.xs
@@
-575,7
+575,7
@@
hash(sv)
U32 hash = 0;
char hexhash[19]; /* must fit "0xffffffffffffffff" plus trailing \0 */
s = SvPV(sv, len);
- PERL_HASH(hash,
(U8*)
s, len);
+ PERL_HASH(hash, s, len);
sprintf(hexhash, "0x%"UVxf, (UV)hash);
ST(0) = sv_2mortal(newSVpv(hexhash, 0));