summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2004-03-05 16:36:55 (GMT)
committerKevin B Kenny <kennykb@acm.org>2004-03-05 16:36:55 (GMT)
commitfcfbbfde29f5232f5f08035190b90c94a8c2a89a (patch)
tree34ad82e4789007f161b52a46cbe13b2d443f2473
parent4e286281a296a9f2cda90be0e756e5352d2011eb (diff)
downloadtcl-fcfbbfde29f5232f5f08035190b90c94a8c2a89a.zip
tcl-fcfbbfde29f5232f5f08035190b90c94a8c2a89a.tar.gz
tcl-fcfbbfde29f5232f5f08035190b90c94a8c2a89a.tar.bz2
* 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).
-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