diff options
author | dgp <dgp@users.sourceforge.net> | 2011-11-01 14:14:35 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2011-11-01 14:14:35 (GMT) |
commit | d70fdf0f646214181606e609768b1ee62ad1b5cc (patch) | |
tree | fe52bceab00748de02c3ee7e643f88df9ae01b2c /generic/tclThreadAlloc.c | |
parent | 6ea21f53d11dd8b83fa7f83e37f4b9609cd95198 (diff) | |
download | tcl-d70fdf0f646214181606e609768b1ee62ad1b5cc.zip tcl-d70fdf0f646214181606e609768b1ee62ad1b5cc.tar.gz tcl-d70fdf0f646214181606e609768b1ee62ad1b5cc.tar.bz2 |
silence more warnings
Diffstat (limited to 'generic/tclThreadAlloc.c')
-rw-r--r-- | generic/tclThreadAlloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclThreadAlloc.c b/generic/tclThreadAlloc.c index bea85bd..9008d52 100644 --- a/generic/tclThreadAlloc.c +++ b/generic/tclThreadAlloc.c @@ -291,6 +291,7 @@ TclpAlloc( register int bucket; size_t size; +#ifndef __LP64__ if (sizeof(int) >= sizeof(size_t)) { /* An unsigned int overflow can also be a size_t overflow */ const size_t zero = 0; @@ -301,6 +302,7 @@ TclpAlloc( return NULL; } } +#endif cachePtr = TclpGetAllocCache(); if (cachePtr == NULL) { @@ -434,6 +436,7 @@ TclpRealloc( return TclpAlloc(reqSize); } +#ifndef __LP64__ if (sizeof(int) >= sizeof(size_t)) { /* An unsigned int overflow can also be a size_t overflow */ const size_t zero = 0; @@ -444,6 +447,7 @@ TclpRealloc( return NULL; } } +#endif cachePtr = TclpGetAllocCache(); if (cachePtr == NULL) { |