summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-08 23:07:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-08 23:07:42 (GMT)
commit30287d8c20b857c43b3e66c2b152abfedae5a5ce (patch)
tree7dde8226a238107bc01bf41fe5054e02d94d794f
parent63572ac935b2a961b916e80da1efb67e2dfb5cf5 (diff)
downloadtcl-30287d8c20b857c43b3e66c2b152abfedae5a5ce.zip
tcl-30287d8c20b857c43b3e66c2b152abfedae5a5ce.tar.gz
tcl-30287d8c20b857c43b3e66c2b152abfedae5a5ce.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;