diff options
author | Kevin B Kenny <kennykb@acm.org> | 2004-09-14 21:42:53 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2004-09-14 21:42:53 (GMT) |
commit | 78d20dd0fad930674c60b4acf7a680392c4e460a (patch) | |
tree | f4831a9a33d1a963686dfd76a3235338f26c5b3e | |
parent | 807dad29a3e4ffb856a0814751efc851f5d6bfbe (diff) | |
download | tcl-78d20dd0fad930674c60b4acf7a680392c4e460a.zip tcl-78d20dd0fad930674c60b4acf7a680392c4e460a.tar.gz tcl-78d20dd0fad930674c60b4acf7a680392c4e460a.tar.bz2 |
silence compiler warning in tclClock.c
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | generic/tclClock.c | 4 |
2 files changed, 12 insertions, 2 deletions
@@ -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; |