summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--generic/tclTest.c5
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 <kennykb@acm.org>
+ * 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 <kennykb@acm.org>
+
* 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