summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
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/tclInt.h
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/tclInt.h')
-rw-r--r--generic/tclInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 491abe6..1954a13 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -4958,7 +4958,7 @@ typedef struct NRE_callback {
#define TCLNR_FREE(interp, ptr) TclSmallFreeEx((interp), (ptr))
#else
#define TCLNR_ALLOC(interp, ptr) \
- (ptr = ((ClientData) ckalloc(sizeof(NRE_callback))))
+ ((ptr) = ((void *)ckalloc(sizeof(NRE_callback))))
#define TCLNR_FREE(interp, ptr) ckfree((char *) (ptr))
#endif