summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog10
-rw-r--r--generic/tclClock.c4
2 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ddf53a3..4ac052d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2004-09-14 Kevin B. Kenny <kennykb@acm.org>
+
+ * generic/tclClock.c (ClockOldscanObjCmd): Silenced a compiler
+ warning (long passed as a param where unsigend long was
+ expected). 'Unsigned long' is wrong, but the fix is really
+ to change the signature of TclGetDate to return a structure of
+ its 'yy' variables and then do the remaining work inside
+ clock.tcl. But, as I said on 2004-09-08, that's a job for
+ another day. [Bug 1027993]
+
2004-09-10 Miguel Sofer <msofer@users.sf.net>
* doc/interp.n:
diff --git a/generic/tclClock.c b/generic/tclClock.c
index 2f54977..f6edf43 100644
--- a/generic/tclClock.c
+++ b/generic/tclClock.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: tclClock.c,v 1.32 2004/09/11 18:57:56 kennykb Exp $
+ * RCS: @(#) $Id: tclClock.c,v 1.33 2004/09/14 21:42:55 kennykb Exp $
*/
#include "tclInt.h"
@@ -551,7 +551,7 @@ TclClockOldscanObjCmd( ClientData clientData, /* unused */
Tcl_Obj *baseObjPtr = NULL;
int useGMT = 0;
unsigned long baseClock;
- long clockVal;
+ unsigned long clockVal;
long zone;
Tcl_Obj *resultPtr;
int dummy;