diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2010-02-09 22:39:11 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2010-02-09 22:39:11 (GMT) |
commit | e53c72ec7777ca400d4295c0be106a5c4260ee84 (patch) | |
tree | 4e6e3cd3dbcd0492b04b387a14624008aa17f6de | |
parent | 1009d232b4c47ae29d281c1454c7896a1b40e5a4 (diff) | |
download | tcl-e53c72ec7777ca400d4295c0be106a5c4260ee84.zip tcl-e53c72ec7777ca400d4295c0be106a5c4260ee84.tar.gz tcl-e53c72ec7777ca400d4295c0be106a5c4260ee84.tar.bz2 |
Minor corrections as recommended by Joe English.
-rw-r--r-- | generic/tclHash.c | 8 |
1 files 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 |