summaryrefslogtreecommitdiffstats
path: root/generic/tclClock.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2017-04-12 13:36:47 (GMT)
committerdgp <dgp@users.sourceforge.net>2017-04-12 13:36:47 (GMT)
commit6c3fce3382f7ac57f7d06b696f4061f42e010e12 (patch)
tree1a3a88e3800b4e20589af252610944895d51e33c /generic/tclClock.c
parentbc2940927e48190e91f3dd7a90274411eecbccc9 (diff)
parent62b2b9bf4592ef78dc71f0bbdbdbaafea3a58713 (diff)
downloadtcl-6c3fce3382f7ac57f7d06b696f4061f42e010e12.zip
tcl-6c3fce3382f7ac57f7d06b696f4061f42e010e12.tar.gz
tcl-6c3fce3382f7ac57f7d06b696f4061f42e010e12.tar.bz2
merge trunk
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 dd52e5c..8423ce6 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