summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hv.h b/hv.h
index 6dc0a88f5b..4979fdd8b6 100644
--- a/hv.h
+++ b/hv.h
@@ -52,7 +52,7 @@ struct xpvhv {
/* (http://burtleburtle.net/bob/hash/doobs.html) */
#define PERL_HASH(hash,str,len) \
STMT_START { \
- register const char *s_PeRlHaSh = str; \
+ register const unsigned char *s_PeRlHaSh = str; \
register I32 i_PeRlHaSh = len; \
register U32 hash_PeRlHaSh = 0; \
while (i_PeRlHaSh--) { \