diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tclTestObj.c | 4 |
2 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,8 @@ 2009-02-11 Don Porter <dgp@users.sourceforge.net> - * generic/tclStringObj.c: Changed type of the 'allocated' field - of the String struct from size_t to int since only int values are + * generic/tclStringObj.c: Changed type of the 'allocated' field + * generic/tclTestObj.c: of the String struct (and the + TestString counterpart) from size_t to int since only int values are ever stored in it. 2009-02-10 Jan Nijtmans <nijtmans@users.sf.net> diff --git a/generic/tclTestObj.c b/generic/tclTestObj.c index e0dddce..73cca56 100644 --- a/generic/tclTestObj.c +++ b/generic/tclTestObj.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclTestObj.c,v 1.29 2009/02/10 23:09:07 nijtmans Exp $ + * RCS: @(#) $Id: tclTestObj.c,v 1.30 2009/02/11 18:07:56 dgp Exp $ */ #include "tclInt.h" @@ -55,7 +55,7 @@ static int TeststringobjCmd(ClientData dummy, Tcl_Interp *interp, typedef struct TestString { int numChars; - size_t allocated; + int allocated; size_t uallocated; Tcl_UniChar unicode[2]; } TestString; |