diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-06-30 09:12:01 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-06-30 09:12:01 (GMT) |
commit | b9dcc2161dcef4bbc7d91d9d5f4ac3c8079bd7c6 (patch) | |
tree | 90ff40cf725ed609216479fd95a0f72febf23f49 /generic/tclInt.h | |
parent | 2c9e6ac996a78100d552fcb5e96c7abc11922d99 (diff) | |
download | tcl-b9dcc2161dcef4bbc7d91d9d5f4ac3c8079bd7c6.zip tcl-b9dcc2161dcef4bbc7d91d9d5f4ac3c8079bd7c6.tar.gz tcl-b9dcc2161dcef4bbc7d91d9d5f4ac3c8079bd7c6.tar.bz2 |
Eliminate "catch" as variable-name, is a keyword in C++. Also add some type-casts, making it more C++-friendly.
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 42a9044..27d7e6d 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -1384,7 +1384,7 @@ MODULE_SCOPE void TclThreadDataKeySet(Tcl_ThreadDataKey *keyPtr, */ #define TCL_TSD_INIT(keyPtr) \ - Tcl_GetThreadData((keyPtr), sizeof(ThreadSpecificData)) + (ThreadSpecificData *)Tcl_GetThreadData((keyPtr), sizeof(ThreadSpecificData)) /* *---------------------------------------------------------------- |