summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.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/tclBasic.c
parent67e100ed95642d0ec30b5718d5c2eb66535c3cbe (diff)
downloadtcl-0a901b4dd0d5f48c4258a435a7015b391a292f65.zip
tcl-0a901b4dd0d5f48c4258a435a7015b391a292f65.tar.gz
tcl-0a901b4dd0d5f48c4258a435a7015b391a292f65.tar.bz2
fix 64bit int <-> ptr cast warnings
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index fcc7d46..b6a87d7 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -16,7 +16,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclBasic.c,v 1.396 2009/07/14 16:52:28 kennykb Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.397 2009/07/14 21:47:42 das Exp $
*/
#include "tclInt.h"
@@ -5458,11 +5458,11 @@ TclArgumentBCEnter(
if (hePtr) {
ExtCmdLoc* eclPtr = (ExtCmdLoc*) Tcl_GetHashValue (hePtr);
- hePtr = Tcl_FindHashEntry(&eclPtr->litInfo, (char*) pc);
+ hePtr = Tcl_FindHashEntry(&eclPtr->litInfo, INT2PTR(pc));
if (hePtr) {
int word;
- int cmd = (int) Tcl_GetHashValue(hePtr);
+ int cmd = PTR2INT(Tcl_GetHashValue(hePtr));
ECL* ePtr = &eclPtr->loc[cmd];
CFWordBC* lastPtr = 0;