This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PERL_HASH() casting games so that our hashed data is "unsigned
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 17 May 2002 16:52:15 +0000 (16:52 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 17 May 2002 16:52:15 +0000 (16:52 +0000)
commit5afd6d4225c4773e6506b9fc3c8ca61abeea89a5
treeb4ae3bf910381858eed9b9c567b1cd88571362f0
parentb194b55204233387f5607cc8e73f91aec4b9abc2
PERL_HASH() casting games so that our hashed data is "unsigned
char" but old code using just a "char" doesn't need changes.
(The change is using a temporary pointer instead of a direct
cast to unsigned char* which would blindly cast anything,
not just char pointers.)  (The problem arose in MacOS Classic,
as seen by Pudge, the cure by Nicholas Clark.)

p4raw-id: //depot/perl@16656
hv.c
hv.h
op.c
sv.c
vms/vms.c