summaryrefslogtreecommitdiffstats
path: root/generic/tclDisassemble.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-11-07 21:16:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-11-07 21:16:31 (GMT)
commitaf07dcfdda71f77e6aa038ebd63630d04d53414e (patch)
tree38eb78bcd816b69417199d15b281cc49268be63e /generic/tclDisassemble.c
parent44ce8c245fa83b3cc8733db27a99b24bdca732fb (diff)
parent82a4bb8618f4a8672fd62a895fa355c1a0628b88 (diff)
downloadtcl-af07dcfdda71f77e6aa038ebd63630d04d53414e.zip
tcl-af07dcfdda71f77e6aa038ebd63630d04d53414e.tar.gz
tcl-af07dcfdda71f77e6aa038ebd63630d04d53414e.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclDisassemble.c')
-rw-r--r--generic/tclDisassemble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclDisassemble.c b/generic/tclDisassemble.c
index 8fd90a3..536d016 100644
--- a/generic/tclDisassemble.c
+++ b/generic/tclDisassemble.c
@@ -832,7 +832,7 @@ UpdateStringOfInstName(
InstNameGetInternalRep(objPtr, inst);
- if (inst > LAST_INST_OPCODE) {
+ if (inst >= LAST_INST_OPCODE) {
dst = Tcl_InitStringRep(objPtr, NULL, TCL_INTEGER_SPACE + 5);
TclOOM(dst, TCL_INTEGER_SPACE + 5);
sprintf(dst, "inst_%" TCL_Z_MODIFIER "u", inst);