summaryrefslogtreecommitdiffstats
path: root/generic/tclClock.c
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/tclClock.c
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/tclClock.c')
-rw-r--r--generic/tclClock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclClock.c b/generic/tclClock.c
index ac4a4d6..d44e9dc 100644
--- a/generic/tclClock.c
+++ b/generic/tclClock.c
@@ -1694,7 +1694,7 @@ ThreadSafeLocalTime(
* Get a thread-local buffer to hold the returned time.
*/
- struct tm *tmPtr = Tcl_GetThreadData(&tmKey, (int) sizeof(struct tm));
+ struct tm *tmPtr = Tcl_GetThreadData(&tmKey, sizeof(struct tm));
#ifdef HAVE_LOCALTIME_R
localtime_r(timePtr, tmPtr);
#else