From e53c72ec7777ca400d4295c0be106a5c4260ee84 Mon Sep 17 00:00:00 2001 From: dkf Date: Tue, 9 Feb 2010 22:39:11 +0000 Subject: Minor corrections as recommended by Joe English. --- generic/tclHash.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/generic/tclHash.c b/generic/tclHash.c index f3c4b3a..9824afd 100644 --- a/generic/tclHash.c +++ b/generic/tclHash.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclHash.c,v 1.40 2010/02/07 09:10:33 dkf Exp $ + * RCS: @(#) $Id: tclHash.c,v 1.41 2010/02/09 22:39:11 dkf Exp $ */ #include "tclInt.h" @@ -871,9 +871,9 @@ HashStringKey( Tcl_HashTable *tablePtr, /* Hash table. */ void *keyPtr) /* Key from which to compute hash value. */ { - register const char *string = (const char *) keyPtr; - register unsigned result = 0; - register int c; + const unsigned char *string = keyPtr; + unsigned result = 0; + unsigned c; /* * This is the (32-bit) Fowler/Noll/Vo hash algorithm. This has the -- cgit v0.12