summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordas <das>2008-10-07 01:15:34 (GMT)
committerdas <das>2008-10-07 01:15:34 (GMT)
commitc3149ec5291e734cf63d2db8495775b1b56c833c (patch)
treeb22f575f43482185398cc6783efa9f2372b02de8 /generic
parent1586363b9e96784c9124092e4d4624d910812443 (diff)
downloadtcl-c3149ec5291e734cf63d2db8495775b1b56c833c.zip
tcl-c3149ec5291e734cf63d2db8495775b1b56c833c.tar.gz
tcl-c3149ec5291e734cf63d2db8495775b1b56c833c.tar.bz2
fix warnings from 2008-10-05 constification
Diffstat (limited to 'generic')
-rw-r--r--generic/tclExecute.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index 1275aed..a8c55fa 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -14,7 +14,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.413 2008/10/05 20:47:52 nijtmans Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.414 2008/10/07 01:15:34 das Exp $
*/
#include "tclInt.h"
@@ -391,19 +391,21 @@ VarHashCreateVar(
#define TCL_DTRACE_INST_NEXT() \
if (TCL_DTRACE_INST_DONE_ENABLED()) {\
if (curInstName) {\
- TCL_DTRACE_INST_DONE(curInstName, (int) CURR_DEPTH, tosPtr);\
+ TCL_DTRACE_INST_DONE((char* ) curInstName, (int) CURR_DEPTH,\
+ tosPtr);\
}\
curInstName = tclInstructionTable[*pc].name;\
if (TCL_DTRACE_INST_START_ENABLED()) {\
- TCL_DTRACE_INST_START(curInstName, (int) CURR_DEPTH, tosPtr);\
+ TCL_DTRACE_INST_START((char*) curInstName, (int) CURR_DEPTH,\
+ tosPtr);\
}\
} else if (TCL_DTRACE_INST_START_ENABLED()) {\
- TCL_DTRACE_INST_START(tclInstructionTable[*pc].name, (int) CURR_DEPTH,\
- tosPtr);\
+ TCL_DTRACE_INST_START((char*) tclInstructionTable[*pc].name,\
+ (int) CURR_DEPTH, tosPtr);\
}
#define TCL_DTRACE_INST_LAST() \
if (TCL_DTRACE_INST_DONE_ENABLED() && curInstName) {\
- TCL_DTRACE_INST_DONE(curInstName, (int) CURR_DEPTH, tosPtr);\
+ TCL_DTRACE_INST_DONE((char*) curInstName, (int) CURR_DEPTH, tosPtr);\
}
/*