summaryrefslogtreecommitdiffstats
path: root/generic/tclIORTrans.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/tclIORTrans.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/tclIORTrans.c')
-rw-r--r--generic/tclIORTrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIORTrans.c b/generic/tclIORTrans.c
index 039b594..e0c39ad 100644
--- a/generic/tclIORTrans.c
+++ b/generic/tclIORTrans.c
@@ -216,7 +216,7 @@ typedef enum {
#define IMPLIES(a,b) ((!(a)) || (b))
#define NEGIMPL(a,b)
-#define HAS(x,f) (x & FLAG(f))
+#define HAS(x,f) ((x) & FLAG(f))
#ifdef TCL_THREADS
/*