summaryrefslogtreecommitdiffstats
path: root/generic/tclProc.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-10-28 23:29:54 (GMT)
committernijtmans <nijtmans>2008-10-28 23:29:54 (GMT)
commite53905d94a0952de627b0d26c1ee06b56bb9b349 (patch)
tree153430fe71b4849249604a88201de3691f0073f3 /generic/tclProc.c
parent1a13bcfa51bd2ef9f1fef875680257ac38fc7e85 (diff)
downloadtcl-e53905d94a0952de627b0d26c1ee06b56bb9b349.zip
tcl-e53905d94a0952de627b0d26c1ee06b56bb9b349.tar.gz
tcl-e53905d94a0952de627b0d26c1ee06b56bb9b349.tar.bz2
CONSTify TclDTraceInfo
Eliminate some -Wstrings-write warnings
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r--generic/tclProc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index e116e92..a7e9531 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.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: tclProc.c,v 1.166 2008/10/19 19:55:37 dgp Exp $
+ * RCS: @(#) $Id: tclProc.c,v 1.167 2008/10/28 23:29:54 nijtmans Exp $
*/
#include "tclInt.h"
@@ -1766,7 +1766,7 @@ TclNRInterpProcCore(
}
if (TCL_DTRACE_PROC_INFO_ENABLED() && iPtr->cmdFramePtr) {
Tcl_Obj *info = TclInfoFrame(interp, iPtr->cmdFramePtr);
- char *a[6]; int i[2];
+ const char *a[6]; int i[2];
TclDTraceInfo(info, a, i);
TCL_DTRACE_PROC_INFO(a[0], a[1], a[2], a[3], i[0], i[1], a[4], a[5]);