diff options
author | das <das> | 2006-07-20 06:17:38 (GMT) |
---|---|---|
committer | das <das> | 2006-07-20 06:17:38 (GMT) |
commit | f2a1ea5dbae4b3440723227e75a0c9da1d88ff93 (patch) | |
tree | b705c8427d769d47111756d48dc62a7053128fac /generic/tclIOCmd.c | |
parent | 475cf649d6dfe709736b11ba805cba2827753363 (diff) | |
download | tcl-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/tclIOCmd.c')
-rw-r--r-- | generic/tclIOCmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIOCmd.c b/generic/tclIOCmd.c index 276ccf5..4b5974b 100644 --- a/generic/tclIOCmd.c +++ b/generic/tclIOCmd.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIOCmd.c,v 1.33 2005/11/04 22:38:38 msofer Exp $ + * RCS: @(#) $Id: tclIOCmd.c,v 1.34 2006/07/20 06:17:39 das Exp $ */ #include "tclInt.h" @@ -852,7 +852,7 @@ Tcl_ExecObjCmd( argv = argStorage; argc = objc - skip; - if ((argc + 1) > sizeof(argv) / sizeof(argv[0])) { + if ((size_t)(argc + 1) > sizeof(argv) / sizeof(argv[0])) { argv = (CONST char **) ckalloc((unsigned)(argc + 1) * sizeof(char *)); } |