summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-03-22 16:38:47 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-03-22 16:38:47 (GMT)
commit08da639e50f42d9cb3447401a59db6669748f9a9 (patch)
tree08920658cc06276277645cbfff13d8cfd313158a
parent72376991f5c43b445f266ab25f73c1c41d6393f0 (diff)
downloadtcl-08da639e50f42d9cb3447401a59db6669748f9a9.zip
tcl-08da639e50f42d9cb3447401a59db6669748f9a9.tar.gz
tcl-08da639e50f42d9cb3447401a59db6669748f9a9.tar.bz2
Don't compare signed and unsigned. Get types right.
-rw-r--r--generic/tclCompile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h
index b5bfab1..5b747fe 100644
--- a/generic/tclCompile.h
+++ b/generic/tclCompile.h
@@ -135,7 +135,7 @@ typedef struct ExceptionAux {
int numBreakTargets; /* The number of [break]s that want to be
* targeted to the place where this loop
* exception will be bound to. */
- int *breakTargets; /* The offsets of the INST_JUMP4 instructions
+ unsigned int *breakTargets; /* The offsets of the INST_JUMP4 instructions
* issued by the [break]s that we must
* update. Note that resizing a jump (via
* TclFixupForwardJump) can cause the contents
@@ -145,7 +145,7 @@ typedef struct ExceptionAux {
int numContinueTargets; /* The number of [continue]s that want to be
* targeted to the place where this loop
* exception will be bound to. */
- int *continueTargets; /* The offsets of the INST_JUMP4 instructions
+ unsigned int *continueTargets; /* The offsets of the INST_JUMP4 instructions
* issued by the [continue]s that we must
* update. Note that resizing a jump (via
* TclFixupForwardJump) can cause the contents