summaryrefslogtreecommitdiffstats
path: root/generic/tclTrace.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-12 16:33:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-12 16:33:51 (GMT)
commit05dc6d00c28c40fef2b65cf96d5753927599c4d5 (patch)
treef98150182654efa599cff14bb53a7108babff6a9 /generic/tclTrace.c
parent5608e51a46c5ddb594d05a3d9cbeace701b5dcc6 (diff)
downloadtcl-05dc6d00c28c40fef2b65cf96d5753927599c4d5.zip
tcl-05dc6d00c28c40fef2b65cf96d5753927599c4d5.tar.gz
tcl-05dc6d00c28c40fef2b65cf96d5753927599c4d5.tar.bz2
Fix [da6f155ca4]: STRING_SIZE() macro: parenthesize numChars usage. Fix more macro's like this.
Diffstat (limited to 'generic/tclTrace.c')
-rw-r--r--generic/tclTrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclTrace.c b/generic/tclTrace.c
index c82fc14..5ce4b95 100644
--- a/generic/tclTrace.c
+++ b/generic/tclTrace.c
@@ -160,8 +160,8 @@ typedef struct StringTraceData {
#define FOREACH_COMMAND_TRACE(interp, name, clientData) \
(clientData) = NULL; \
- while ((clientData = Tcl_CommandTraceInfo(interp, name, 0, \
- TraceCommandProc, clientData)) != NULL)
+ while (((clientData) = Tcl_CommandTraceInfo((interp), (name), 0, \
+ TraceCommandProc, (clientData))) != NULL)
/*
*----------------------------------------------------------------------