summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-12 21:09:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-12 21:09:28 (GMT)
commit6fb4e398d601951ffbc80a9156685beec71ebe2e (patch)
treed1557d52d25f268e4d2b384ea0c7c343dc431393 /generic/tclInt.h
parent2161463b5bc87cbef712465067c0b4fde52a699d (diff)
parent05dc6d00c28c40fef2b65cf96d5753927599c4d5 (diff)
downloadtcl-6fb4e398d601951ffbc80a9156685beec71ebe2e.zip
tcl-6fb4e398d601951ffbc80a9156685beec71ebe2e.tar.gz
tcl-6fb4e398d601951ffbc80a9156685beec71ebe2e.tar.bz2
Merge 8.6
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 ea83055..b82a473 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -5192,7 +5192,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(ptr)
#endif