diff options
author | nijtmans <nijtmans> | 2008-10-07 21:24:43 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-10-07 21:24:43 (GMT) |
commit | 094983988742832968355fbb8724e2f1f75059c8 (patch) | |
tree | 79e38af1a1e689dbaa6b50beb4a2f13050ab9ea2 /generic/tclCompile.h | |
parent | e495d8b0af42751258fbfd1c1b0e55cebc6c2dab (diff) | |
download | tcl-094983988742832968355fbb8724e2f1f75059c8.zip tcl-094983988742832968355fbb8724e2f1f75059c8.tar.gz tcl-094983988742832968355fbb8724e2f1f75059c8.tar.bz2 |
undo "fix warnings from 2008-10-05 constification" (tclExecute.c 1.414), but
in stead modify two macro's in tclCompile.h with the same affect, but
now without polluting C-code with type casts.
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r-- | generic/tclCompile.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h index f314937..ac4990e 100644 --- a/generic/tclCompile.h +++ b/generic/tclCompile.h @@ -9,7 +9,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.h,v 1.108 2008/10/05 20:47:52 nijtmans Exp $ + * RCS: @(#) $Id: tclCompile.h,v 1.109 2008/10/07 21:24:43 nijtmans Exp $ */ #ifndef _TCLCOMPILATION @@ -1285,8 +1285,8 @@ MODULE_SCOPE int TclWordKnownAtCompileTime(Tcl_Token *tokenPtr, #define TCL_DTRACE_INST_START_ENABLED() unlikely(TCL_INST_START_ENABLED()) #define TCL_DTRACE_INST_DONE_ENABLED() unlikely(TCL_INST_DONE_ENABLED()) -#define TCL_DTRACE_INST_START(a0, a1, a2) TCL_INST_START(a0, a1, a2) -#define TCL_DTRACE_INST_DONE(a0, a1, a2) TCL_INST_DONE(a0, a1, a2) +#define TCL_DTRACE_INST_START(a0, a1, a2) TCL_INST_START((char *)a0, a1, a2) +#define TCL_DTRACE_INST_DONE(a0, a1, a2) TCL_INST_DONE((char *)a0, a1, a2) #define TCL_DTRACE_TCL_PROBE_ENABLED() unlikely(TCL_TCL_PROBE_ENABLED()) #define TCL_DTRACE_TCL_PROBE(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9) \ |