diff options
author | dgp <dgp@noemail.net> | 2009-02-11 18:07:47 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2009-02-11 18:07:47 (GMT) |
commit | e3275e86d1c53f72c5c0e74fbbb0287f3cd538c1 (patch) | |
tree | 2bdbbcf1086888325210efa5d620a1198688340c /generic/tclTestObj.c | |
parent | a4e247642cf5d6d2a52900335b40868ddbb414ea (diff) | |
download | tcl-e3275e86d1c53f72c5c0e74fbbb0287f3cd538c1.zip tcl-e3275e86d1c53f72c5c0e74fbbb0287f3cd538c1.tar.gz tcl-e3275e86d1c53f72c5c0e74fbbb0287f3cd538c1.tar.bz2 |
* 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.
FossilOrigin-Name: d0225f51c9421814fec6a0f9846e3e52b5d00f45
Diffstat (limited to 'generic/tclTestObj.c')
-rw-r--r-- | generic/tclTestObj.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |