summaryrefslogtreecommitdiff
path: root/tcl/mac/tclMacTime.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/mac/tclMacTime.c')
-rw-r--r--tcl/mac/tclMacTime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcl/mac/tclMacTime.c b/tcl/mac/tclMacTime.c
index f27a0425568..f4d236def00 100644
--- a/tcl/mac/tclMacTime.c
+++ b/tcl/mac/tclMacTime.c
@@ -241,9 +241,10 @@ TclpGetTime(
struct tm *
TclpGetDate(
- const time_t *tp, /* Time struct to fill. */
+ TclpTime_t time, /* Time struct to fill. */
int useGMT) /* True if date should reflect GNT time. */
{
+ const time_t *tp = (const time_t *)time;
DateTimeRec dtr;
MachineLocation loc;
long int offset;