diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2010-01-02 22:52:38 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2010-01-02 22:52:38 (GMT) |
commit | 9f8bfbf877ccc3b628792103d685157a9e5ebbd6 (patch) | |
tree | 729b6fa569e8ee8448009d10292da7e7a85108b0 /generic/tkGet.c | |
parent | ef78ba37dd9da106972910594d050e9a9f189c2f (diff) | |
download | tk-9f8bfbf877ccc3b628792103d685157a9e5ebbd6.zip tk-9f8bfbf877ccc3b628792103d685157a9e5ebbd6.tar.gz tk-9f8bfbf877ccc3b628792103d685157a9e5ebbd6.tar.bz2 |
SMALL FIX: Remove useless explicit casts now that we require C89 or later.
Diffstat (limited to 'generic/tkGet.c')
-rw-r--r-- | generic/tkGet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkGet.c b/generic/tkGet.c index de6b5fe..ad0de63 100644 --- a/generic/tkGet.c +++ b/generic/tkGet.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkGet.c,v 1.15 2008/10/17 23:18:37 nijtmans Exp $ + * RCS: @(#) $Id: tkGet.c,v 1.16 2010/01/02 22:52:38 dkf Exp $ */ #include "tkInt.h" @@ -489,7 +489,7 @@ static void FreeUidThreadExitProc( ClientData clientData) /* Not used. */ { - ThreadSpecificData *tsdPtr = (ThreadSpecificData *) + ThreadSpecificData *tsdPtr = Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData)); Tcl_DeleteHashTable(&tsdPtr->uidTable); @@ -523,7 +523,7 @@ Tk_GetUid( const char *string) /* String to convert. */ { int dummy; - ThreadSpecificData *tsdPtr = (ThreadSpecificData *) + ThreadSpecificData *tsdPtr = Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData)); Tcl_HashTable *tablePtr = &tsdPtr->uidTable; |