summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authordas <das>2006-12-01 06:06:01 (GMT)
committerdas <das>2006-12-01 06:06:01 (GMT)
commit2552c3b55665456e393c36dc42e1dd515ad721f4 (patch)
tree561dca62fd98bb74ada0e95b2e726cfaf074e898 /generic/tclExecute.c
parent4efb0e2c9411ff649b81a26e8a9e35f1266c9697 (diff)
downloadtcl-2552c3b55665456e393c36dc42e1dd515ad721f4.zip
tcl-2552c3b55665456e393c36dc42e1dd515ad721f4.tar.gz
tcl-2552c3b55665456e393c36dc42e1dd515ad721f4.tar.bz2
fix warnings
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index d2d802a..c8c94ac 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclExecute.c,v 1.254 2006/11/28 22:20:28 andreas_kupries Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.255 2006/12/01 06:06:01 das Exp $
*/
#include "tclInt.h"
@@ -1827,7 +1827,7 @@ TclExecuteByteCode(
* 'TclGetSrcInfoForPc', and push the frame.
*/
- bcFrame.data.tebc.pc = pc;
+ bcFrame.data.tebc.pc = (char*)pc;
iPtr->cmdFramePtr = &bcFrame;
DECACHE_STACK_INFO();
/*Tcl_ResetResult(interp);*/
@@ -6460,7 +6460,7 @@ TclGetSrcInfoForPc (cfPtr)
ByteCode* codePtr = (ByteCode*) cfPtr->data.tebc.codePtr;
if (cfPtr->cmd.str.cmd == NULL) {
- cfPtr->cmd.str.cmd = GetSrcInfoForPc((char*) cfPtr->data.tebc.pc,
+ cfPtr->cmd.str.cmd = GetSrcInfoForPc((unsigned char*) cfPtr->data.tebc.pc,
codePtr,
&cfPtr->cmd.str.len);
}