summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-04-11 15:20:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-04-11 15:20:07 (GMT)
commit4775249efa107caa7895328913957997cf0bc6d8 (patch)
treeca2f013549de2b7536af92162bcf4bade5d91f35 /generic/tclInt.h
parent90ca2f4448e5aba75ffe9b71d877b557264a90a0 (diff)
downloadtcl-4775249efa107caa7895328913957997cf0bc6d8.zip
tcl-4775249efa107caa7895328913957997cf0bc6d8.tar.gz
tcl-4775249efa107caa7895328913957997cf0bc6d8.tar.bz2
Remove some unnecessary "struct" definitions and some type casts no longer necessary. No functional changes.
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 1fbc541..d725688 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -1357,7 +1357,7 @@ MODULE_SCOPE void TclThreadDataKeySet(Tcl_ThreadDataKey *keyPtr,
*/
#define TCL_TSD_INIT(keyPtr) \
- (ThreadSpecificData *)Tcl_GetThreadData((keyPtr), sizeof(ThreadSpecificData))
+ Tcl_GetThreadData((keyPtr), sizeof(ThreadSpecificData))
/*
*----------------------------------------------------------------