summaryrefslogtreecommitdiff
path: root/ext/Opcode
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Opcode')
-rw-r--r--ext/Opcode/Opcode.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Opcode/Opcode.xs b/ext/Opcode/Opcode.xs
index 928f68020b..5d9d63f897 100644
--- a/ext/Opcode/Opcode.xs
+++ b/ext/Opcode/Opcode.xs
@@ -233,7 +233,7 @@ PROTOTYPES: ENABLE
BOOT:
assert(maxo < OP_MASK_BUF_SIZE);
- opset_len = (maxo / 8) + 1;
+ opset_len = (maxo + 7) / 8;
if (opcode_debug >= 1)
warn("opset_len %d\n", opset_len);
op_names_init();