From e80b4afbd9fd9d7fd1753f7e1d899b7dfdb6e6af Mon Sep 17 00:00:00 2001 From: patthoyts Date: Fri, 10 Apr 2009 22:14:29 +0000 Subject: silence warning preventing symbols build with msvc6 (signed/unsigned comparison) --- generic/tclStringObj.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c index 1f221f9..dc36242 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.10 2009/04/10 21:27:17 dgp Exp $ */ + * RCS: @(#) $Id: tclStringObj.c,v 1.70.2.11 2009/04/10 22:14:29 patthoyts Exp $ */ #include "tclInt.h" #include "tommath.h" @@ -2922,7 +2922,7 @@ UpdateStringOfString( */ if (stringPtr->numChars <= INT_MAX/TCL_UTF_MAX - && stringPtr->allocated >= stringPtr->numChars * TCL_UTF_MAX) { + && stringPtr->allocated >= stringPtr->numChars * (size_t)TCL_UTF_MAX) { goto copyBytes; } -- cgit v0.12