summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-07-13 13:06:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-07-13 13:06:31 (GMT)
commit6abb3012d4a69c475e76e779b90400ec16d75cef (patch)
treeaf53162be96d78aebb3302888e21a19a8bac027e /generic/tcl.h
parentd5259dab0165d9c7445e14676e009bb55213aace (diff)
parenta5748bcfeaed4a02c8b11829a0ea0a13dceb8ff9 (diff)
downloadtcl-6abb3012d4a69c475e76e779b90400ec16d75cef.zip
tcl-6abb3012d4a69c475e76e779b90400ec16d75cef.tar.gz
tcl-6abb3012d4a69c475e76e779b90400ec16d75cef.tar.bz2
Merge novem
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index dd2848a..5035365 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -937,7 +937,7 @@ typedef struct Tcl_DString {
*/
#ifndef TCL_HASH_TYPE
-# define TCL_HASH_TYPE size_t
+# define TCL_HASH_TYPE unsigned
#endif
typedef struct Tcl_HashKeyType Tcl_HashKeyType;
@@ -1055,7 +1055,7 @@ struct Tcl_HashTable {
* table. */
size_t rebuildSize; /* Enlarge table when numEntries gets to be
* this large. */
- TCL_HASH_TYPE mask1; /* Mask value used in hashing function. */
+ size_t mask; /* Mask value used in hashing function. */
int downShift; /* Shift count used in hashing function.
* Designed to use high-order bits of
* randomized keys. */