From fcfbbfde29f5232f5f08035190b90c94a8c2a89a Mon Sep 17 00:00:00 2001 From: Kevin B Kenny Date: Fri, 5 Mar 2004 16:36:55 +0000 Subject: * generic/tclTest.c: Modified TesteventObjCmd to use a Tcl_QueuePosition in place of an 'int' for the enumerated queue position, to avoid a compiler warning on SGI. (Bug #771960). --- ChangeLog | 7 +++++++ generic/tclTest.c | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c62df78..1e3e527 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2004-03-05 Kevin B. Kenny + * generic/tclTest.c: Modified TesteventObjCmd to use + a Tcl_QueuePosition in place of an 'int' for the enumerated + queue position, to avoid a compiler warning on SGI. + (Bug #771960). + +2004-03-05 Kevin B. Kenny + * tests/registry.test: Applied fix from Patch #910174 to make the test for an English-language system include any country code, rather than just English-United States.1252. diff --git a/generic/tclTest.c b/generic/tclTest.c index 473cb21..d29c132 100644 --- a/generic/tclTest.c +++ b/generic/tclTest.c @@ -14,7 +14,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclTest.c,v 1.77 2004/03/01 17:33:45 dgp Exp $ + * RCS: @(#) $Id: tclTest.c,v 1.78 2004/03/05 16:36:56 kennykb Exp $ */ #define TCL_TEST @@ -2056,7 +2056,8 @@ TesteventObjCmd( ClientData unused, /* Not used */ NULL }; int posIndex; /* Index of the chosen position */ - static CONST int posNum[] = { /* Interpretation of the chosen position */ + static CONST Tcl_QueuePosition posNum[] = { + /* Interpretation of the chosen position */ TCL_QUEUE_HEAD, TCL_QUEUE_TAIL, TCL_QUEUE_MARK -- cgit v0.12