diff options
author | das <das> | 2009-07-15 22:27:13 (GMT) |
---|---|---|
committer | das <das> | 2009-07-15 22:27:13 (GMT) |
commit | 4ddce8d6445b7a711133a230e5c070aeb22f95de (patch) | |
tree | 87173f685265cda54ee8ed18bc38b9a76a465d37 /generic/tclCompile.c | |
parent | 06eaea4df70451d16154d922e94eaba288cc8839 (diff) | |
download | tcl-4ddce8d6445b7a711133a230e5c070aeb22f95de.zip tcl-4ddce8d6445b7a711133a230e5c070aeb22f95de.tar.gz tcl-4ddce8d6445b7a711133a230e5c070aeb22f95de.tar.bz2 |
fix 64bit int <-> ptr cast warnings
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r-- | generic/tclCompile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c index e671fcf..bfc81b7 100644 --- a/generic/tclCompile.c +++ b/generic/tclCompile.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCompile.c,v 1.146.2.8 2009/07/14 16:33:12 andreas_kupries Exp $ + * RCS: @(#) $Id: tclCompile.c,v 1.146.2.9 2009/07/15 22:27:13 das Exp $ */ #include "tclInt.h" @@ -1501,7 +1501,7 @@ TclCompileScript( int isnew; Tcl_HashEntry* hePtr = Tcl_CreateHashEntry(&eclPtr->litInfo, (char*) (envPtr->codeNext - envPtr->codeStart), &isnew); - Tcl_SetHashValue(hePtr, (char*) wlineat); + Tcl_SetHashValue(hePtr, INT2PTR(wlineat)); if (wordIdx <= 255) { TclEmitInstInt1(INST_INVOKE_STK1, wordIdx, envPtr); |