diff options
author | patthoyts <patthoyts@noemail.net> | 2009-07-01 15:29:47 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@noemail.net> | 2009-07-01 15:29:47 (GMT) |
commit | 5d6620999ea79d653a2e1daa8acc505ae5e27386 (patch) | |
tree | 7a2e5f98850a2634a8356019e2d14006d6dcc531 /generic/tclStringObj.c | |
parent | 7d315a9934a587f11a3744de6e5ccdd0f33fbff9 (diff) | |
download | tcl-5d6620999ea79d653a2e1daa8acc505ae5e27386.zip tcl-5d6620999ea79d653a2e1daa8acc505ae5e27386.tar.gz tcl-5d6620999ea79d653a2e1daa8acc505ae5e27386.tar.bz2 |
Cast wide integer to int conversion and some signed/unsigned conversions. (silence msvc6 warnings)
FossilOrigin-Name: a36d676c2553caae3cdfc2cfa2174a6fd8a214f7
Diffstat (limited to 'generic/tclStringObj.c')
-rw-r--r-- | generic/tclStringObj.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c index b1f232d..7c0ccaf 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.70.2.14 2009/06/15 18:52:25 dgp Exp $ */ + * RCS: @(#) $Id: tclStringObj.c,v 1.70.2.15 2009/07/01 15:29:48 patthoyts Exp $ */ #include "tclInt.h" #include "tommath.h" @@ -2265,9 +2265,9 @@ Tcl_AppendFormatToObj( numDigits = 1; } pure = Tcl_NewObj(); - Tcl_SetObjLength(pure, numDigits); + Tcl_SetObjLength(pure, (int)numDigits); bytes = TclGetString(pure); - toAppend = length = numDigits; + toAppend = length = (int)numDigits; while (numDigits--) { int digitOffset; |