summaryrefslogtreecommitdiffstats
path: root/generic/tclListObj.c
diff options
context:
space:
mode:
authordas <das>2006-07-20 06:17:38 (GMT)
committerdas <das>2006-07-20 06:17:38 (GMT)
commitf2a1ea5dbae4b3440723227e75a0c9da1d88ff93 (patch)
treeb705c8427d769d47111756d48dc62a7053128fac /generic/tclListObj.c
parent475cf649d6dfe709736b11ba805cba2827753363 (diff)
downloadtcl-f2a1ea5dbae4b3440723227e75a0c9da1d88ff93.zip
tcl-f2a1ea5dbae4b3440723227e75a0c9da1d88ff93.tar.gz
tcl-f2a1ea5dbae4b3440723227e75a0c9da1d88ff93.tar.bz2
* generic/regc_locale.c (cclass):
* generic/tclExecute.c (TclExecuteByteCode): * generic/tclIOCmd.c (Tcl_ExecObjCmd): * generic/tclListObj.c (NewListIntRep): * generic/tclObj.c (Tcl_GetLongFromObj, Tcl_GetWideIntFromObj, FreeBignum, Tcl_SetBignumObj): * generic/tclParseExpr.c (Tcl_ParseExpr): * generic/tclStrToD.c (TclParseNumber): * generic/tclStringObj.c (TclAppendFormattedObjs): * unix/tclUnixPipe.c (TclpCreateProcess): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra.
Diffstat (limited to 'generic/tclListObj.c')
-rw-r--r--generic/tclListObj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclListObj.c b/generic/tclListObj.c
index 1bc0344..d4da0e8 100644
--- a/generic/tclListObj.c
+++ b/generic/tclListObj.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: tclListObj.c,v 1.31 2005/12/13 22:43:18 kennykb Exp $
+ * RCS: @(#) $Id: tclListObj.c,v 1.32 2006/07/20 06:17:39 das Exp $
*/
#include "tclInt.h"
@@ -90,7 +90,7 @@ NewListIntRep(
* requires API changes to fix.
*/
- if (objc > INT_MAX/sizeof(Tcl_Obj *)) {
+ if ((size_t)objc > INT_MAX/sizeof(Tcl_Obj *)) {
return NULL;
}