summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authordas <das>2009-07-14 21:47:42 (GMT)
committerdas <das>2009-07-14 21:47:42 (GMT)
commit0a901b4dd0d5f48c4258a435a7015b391a292f65 (patch)
treed8589c5fcfdc1eea2e11fc3a1450dac18691b60d /generic/tclCompile.c
parent67e100ed95642d0ec30b5718d5c2eb66535c3cbe (diff)
downloadtcl-0a901b4dd0d5f48c4258a435a7015b391a292f65.zip
tcl-0a901b4dd0d5f48c4258a435a7015b391a292f65.tar.gz
tcl-0a901b4dd0d5f48c4258a435a7015b391a292f65.tar.bz2
fix 64bit int <-> ptr cast warnings
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index a1a7168..6168133 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.168 2009/07/14 16:34:08 andreas_kupries Exp $
+ * RCS: @(#) $Id: tclCompile.c,v 1.169 2009/07/14 21:47:42 das Exp $
*/
#include "tclInt.h"
@@ -1536,7 +1536,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);