diff options
author | dgp <dgp@users.sourceforge.net> | 2017-11-08 02:53:57 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2017-11-08 02:53:57 (GMT) |
commit | b8bf04f5ecdb9b86bdd9622a08ef4cfebf99b5dc (patch) | |
tree | e520d741d156aca5270b6b29dba930b2201fcd0c /generic/tclHash.c | |
parent | f74bde3e62a0e7b36227e064d0463424b5d9bbab (diff) | |
parent | f31af075d052f3285352b8c4c10174baef2eee4a (diff) | |
download | tcl-b8bf04f5ecdb9b86bdd9622a08ef4cfebf99b5dc.zip tcl-b8bf04f5ecdb9b86bdd9622a08ef4cfebf99b5dc.tar.gz tcl-b8bf04f5ecdb9b86bdd9622a08ef4cfebf99b5dc.tar.bz2 |
compiler warning
Diffstat (limited to 'generic/tclHash.c')
-rw-r--r-- | generic/tclHash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclHash.c b/generic/tclHash.c index 4fdd673..7e8961d 100644 --- a/generic/tclHash.c +++ b/generic/tclHash.c @@ -1021,7 +1021,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; } |