diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-01-12 16:33:51 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-01-12 16:33:51 (GMT) |
commit | 05dc6d00c28c40fef2b65cf96d5753927599c4d5 (patch) | |
tree | f98150182654efa599cff14bb53a7108babff6a9 /generic/tclInt.h | |
parent | 5608e51a46c5ddb594d05a3d9cbeace701b5dcc6 (diff) | |
download | tcl-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.h | 2 |
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 |