From 08105a92a3e1f0f7ac18e8807e8c0cad635b748a Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Mon, 15 Feb 1999 03:07:08 +0000 Subject: add const qualifier to most char* prototypes, handle ripple effect p4raw-id: //depot/perl@2924 --- hv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hv.h') diff --git a/hv.h b/hv.h index 1f8d9ce934..1763a8860f 100644 --- a/hv.h +++ b/hv.h @@ -40,7 +40,7 @@ struct xpvhv { #define PERL_HASH(hash,str,len) \ STMT_START { \ - register char *s_PeRlHaSh = str; \ + register const char *s_PeRlHaSh = str; \ register I32 i_PeRlHaSh = len; \ register U32 hash_PeRlHaSh = 0; \ while (i_PeRlHaSh--) \ -- cgit v1.2.1