diff options
author | nijtmans <nijtmans@noemail.net> | 2008-10-07 21:24:43 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2008-10-07 21:24:43 (GMT) |
commit | 589cfde1bea2381b2a67b3a5adf631045f7aa412 (patch) | |
tree | 79e38af1a1e689dbaa6b50beb4a2f13050ab9ea2 /generic/tclCompile.h | |
parent | 975ad0f6ae784c88bf1a0517ded1de14cfc3aba3 (diff) | |
download | tcl-589cfde1bea2381b2a67b3a5adf631045f7aa412.zip tcl-589cfde1bea2381b2a67b3a5adf631045f7aa412.tar.gz tcl-589cfde1bea2381b2a67b3a5adf631045f7aa412.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.
FossilOrigin-Name: 8ab8fd2e1e7892b42c986b7f0b66bac0c6b925c9
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) \ |