From 62e34428d357f609be17a866638bedb45f935d8e Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sat, 2 May 1998 23:39:11 -0400 Subject: snapshot of project "lynx", label v2-8-1dev_8 --- WWW/Library/Implementation/HTAnchor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'WWW/Library/Implementation/HTAnchor.c') diff --git a/WWW/Library/Implementation/HTAnchor.c b/WWW/Library/Implementation/HTAnchor.c index 14e258f6..a489eba2 100644 --- a/WWW/Library/Implementation/HTAnchor.c +++ b/WWW/Library/Implementation/HTAnchor.c @@ -44,10 +44,10 @@ PRIVATE int HASH_FUNCTION ARGS1( CONST char *, cp_address) { int hash; - unsigned char *p; + CONST unsigned char *p; - for (p = (unsigned char *)cp_address, hash = 0; *p; p++) - hash = (int) (hash * 3 + (*(unsigned char *)p)) % HASH_SIZE; + for (p = (CONST unsigned char *)cp_address, hash = 0; *p; p++) + hash = (int) (hash * 3 + (*(CONST unsigned char *)p)) % HASH_SIZE; return hash; } -- cgit 1.4.1-2-gfad0