From 78d20dd0fad930674c60b4acf7a680392c4e460a Mon Sep 17 00:00:00 2001 From: Kevin B Kenny Date: Tue, 14 Sep 2004 21:42:53 +0000 Subject: silence compiler warning in tclClock.c --- ChangeLog | 10 ++++++++++ generic/tclClock.c | 4 ++-- 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 + + * 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 * 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; -- cgit v0.12