diff options
| author | das <das> | 2006-07-20 06:17:38 (GMT) |
|---|---|---|
| committer | das <das> | 2006-07-20 06:17:38 (GMT) |
| commit | 73fda4104cebe580720dbf8e23feabd4022a8bd5 (patch) | |
| tree | b705c8427d769d47111756d48dc62a7053128fac /generic/tclStringObj.c | |
| parent | 72af7ccc8eebc73d1745f1b8eb8331b366c9822a (diff) | |
| download | tcl-73fda4104cebe580720dbf8e23feabd4022a8bd5.zip tcl-73fda4104cebe580720dbf8e23feabd4022a8bd5.tar.gz tcl-73fda4104cebe580720dbf8e23feabd4022a8bd5.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/tclStringObj.c')
| -rw-r--r-- | generic/tclStringObj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c index d119176..953cacb 100644 --- a/generic/tclStringObj.c +++ b/generic/tclStringObj.c @@ -33,7 +33,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclStringObj.c,v 1.53 2006/03/23 14:24:57 dgp Exp $ */ + * RCS: @(#) $Id: tclStringObj.c,v 1.54 2006/07/20 06:17:39 das Exp $ */ #include "tclInt.h" #include "tommath.h" @@ -2145,7 +2145,7 @@ TclAppendFormattedObjs( int digitOffset; if (useBig) { - if (shift<CHAR_BIT*sizeof(Tcl_WideUInt)-DIGIT_BIT) { + if ((size_t)shift<CHAR_BIT*sizeof(Tcl_WideUInt)-DIGIT_BIT) { bits |= (((Tcl_WideUInt)big.dp[index++]) << shift); shift += DIGIT_BIT; } |
