summaryrefslogtreecommitdiffstats
path: root/generic/tclStringObj.c
diff options
context:
space:
mode:
authordas <das>2009-07-15 22:27:13 (GMT)
committerdas <das>2009-07-15 22:27:13 (GMT)
commitabcedeed11c343f1e3fbe1c180e2846ba7736fde (patch)
tree87173f685265cda54ee8ed18bc38b9a76a465d37 /generic/tclStringObj.c
parent87c5f5e7d1194e94940f4b2b99069d1223dc09e5 (diff)
downloadtcl-abcedeed11c343f1e3fbe1c180e2846ba7736fde.zip
tcl-abcedeed11c343f1e3fbe1c180e2846ba7736fde.tar.gz
tcl-abcedeed11c343f1e3fbe1c180e2846ba7736fde.tar.bz2
fix 64bit int <-> ptr cast warnings
Diffstat (limited to 'generic/tclStringObj.c')
-rw-r--r--generic/tclStringObj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c
index 7c0ccaf..093eca3 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.15 2009/07/01 15:29:48 patthoyts Exp $ */
+ * RCS: @(#) $Id: tclStringObj.c,v 1.70.2.16 2009/07/15 22:27:14 das Exp $ */
#include "tclInt.h"
#include "tommath.h"
@@ -1357,7 +1357,7 @@ AppendUnicodeToUnicodeRep(
int appendNumChars) /* Number of chars of "unicode" to append. */
{
String *stringPtr;
- size_t numChars;
+ int numChars;
if (appendNumChars < 0) {
appendNumChars = UnicodeLength(unicode);