summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2017-11-08 03:02:22 (GMT)
committerdgp <dgp@users.sourceforge.net>2017-11-08 03:02:22 (GMT)
commite82d7fb7538c87bbe0c63263e2032fe02a5a100b (patch)
treecdf1595e6de987027c75d7c901d0ee67a5e419f5
parent3b989eefe07bdfdb9392a9ac0d34381205c776c4 (diff)
parent5188d1d9271a58565dec9eae2127322ad301ad78 (diff)
downloadtcl-e82d7fb7538c87bbe0c63263e2032fe02a5a100b.zip
tcl-e82d7fb7538c87bbe0c63263e2032fe02a5a100b.tar.gz
tcl-e82d7fb7538c87bbe0c63263e2032fe02a5a100b.tar.bz2
compiler warning
-rw-r--r--generic/tclHash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclHash.c b/generic/tclHash.c
index 8ba2a50..32c9aec 100644
--- a/generic/tclHash.c
+++ b/generic/tclHash.c
@@ -992,7 +992,7 @@ RebuildTable(
const Tcl_HashKeyType *typePtr;
/* Avoid outgrowing capability of the memory allocators */
- if (oldSize > UINT_MAX / (4 * sizeof(Tcl_HashEntry *))) {
+ if (oldSize > (int)(UINT_MAX / (4 * sizeof(Tcl_HashEntry *)))) {
tablePtr->rebuildSize = INT_MAX;
return;
}