summaryrefslogtreecommitdiffstats
path: root/generic/tclClock.c
diff options
context:
space:
mode:
authorrmax <rmax>2004-03-18 18:50:40 (GMT)
committerrmax <rmax>2004-03-18 18:50:40 (GMT)
commit767d68ec6d958a72ef767196d7efbd8d9b9f387d (patch)
tree5d8026ffcf76cb43e1021ee0e1608d10ce7b8c2b /generic/tclClock.c
parentffa58c2b26dfdfa393cbd383ce80469028c497c1 (diff)
downloadtcl-767d68ec6d958a72ef767196d7efbd8d9b9f387d.zip
tcl-767d68ec6d958a72ef767196d7efbd8d9b9f387d.tar.gz
tcl-767d68ec6d958a72ef767196d7efbd8d9b9f387d.tar.bz2
* generic/tclIntDecls.h: Removed TclpTime_t. It wasn't really needed,
* generic/tclInt.h: but caused warnings related to * generic/tclInt.decls: strict aliasing with GCC 3.3. * generic/tclClock.c: * generic/tclDate.c: * generic/tclGetDate.y: * win/tclWinTime.c: * unix/tclUnixTime.c:
Diffstat (limited to 'generic/tclClock.c')
-rw-r--r--generic/tclClock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclClock.c b/generic/tclClock.c
index 25e3d62..82d4f1f 100644
--- a/generic/tclClock.c
+++ b/generic/tclClock.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclClock.c,v 1.24 2003/10/30 22:46:42 dkf Exp $
+ * RCS: @(#) $Id: tclClock.c,v 1.25 2004/03/18 18:50:40 rmax Exp $
*/
#include "tcl.h"
@@ -323,7 +323,7 @@ FormatClock(interp, clockVal, useGMT, format)
#endif
tclockVal = clockVal;
- timeDataPtr = TclpGetDate((TclpTime_t) &tclockVal, useGMT);
+ timeDataPtr = TclpGetDate(&tclockVal, useGMT);
/*
* Make a guess at the upper limit on the substituted string size