summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2011-03-08 23:07:42 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2011-03-08 23:07:42 (GMT)
commit5d62a31e71ba2b937abfd1819bee772bf1c9b4df (patch)
tree7dde8226a238107bc01bf41fe5054e02d94d794f
parentaaa0897fbce352f2c0d881e6327ffbf086fea922 (diff)
downloadtcl-5d62a31e71ba2b937abfd1819bee772bf1c9b4df.zip
tcl-5d62a31e71ba2b937abfd1819bee772bf1c9b4df.tar.gz
tcl-5d62a31e71ba2b937abfd1819bee772bf1c9b4df.tar.bz2
Fix gcc warning: comparison between signed and unsigned integer expressions
-rw-r--r--ChangeLog2
-rw-r--r--generic/tclAssembly.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9c48874..1820131 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,8 @@
* generic/tclProc.c:
* generic/tclIORChan.c:
* generic/tclIORTrans.c:
+ * generic/tclAssembly.c: Fix gcc warning: comparison between signed
+ and unsigned integer expressions
2011-03-08 Don Porter <dgp@users.sourceforge.net>
diff --git a/generic/tclAssembly.c b/generic/tclAssembly.c
index d7e02bf..e11d68a 100644
--- a/generic/tclAssembly.c
+++ b/generic/tclAssembly.c
@@ -4120,7 +4120,7 @@ RestoreEmbeddedExceptionRanges(
* range as reinstalled */
ExceptionRange* range; /* Current foreign exception range */
unsigned char opcode; /* Current instruction's opcode */
- unsigned int catchIndex; /* Index of the exception range to which the
+ int catchIndex; /* Index of the exception range to which the
* current instruction refers */
int i;