diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2010-02-09 22:39:11 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2010-02-09 22:39:11 (GMT) |
| commit | bb461ea70544d17b83fe4545bfc97ca5f6323269 (patch) | |
| tree | 4e6e3cd3dbcd0492b04b387a14624008aa17f6de | |
| parent | cfee032eb15f7bc6a0a776eae5350419f4563efa (diff) | |
| download | tcl-bb461ea70544d17b83fe4545bfc97ca5f6323269.zip tcl-bb461ea70544d17b83fe4545bfc97ca5f6323269.tar.gz tcl-bb461ea70544d17b83fe4545bfc97ca5f6323269.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 |
