summaryrefslogtreecommitdiff
path: root/ext/Opcode/Opcode.xs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Opcode/Opcode.xs')
-rw-r--r--ext/Opcode/Opcode.xs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/Opcode/Opcode.xs b/ext/Opcode/Opcode.xs
index e853cf19a3..e93b90046a 100644
--- a/ext/Opcode/Opcode.xs
+++ b/ext/Opcode/Opcode.xs
@@ -400,7 +400,8 @@ PPCODE:
}
else if (SvPOK(bitspec) && SvCUR(bitspec) == opset_len) {
int b, j;
- char *bitmap = SvPV(bitspec,PL_na);
+ STRLEN n_a;
+ char *bitmap = SvPV(bitspec,n_a);
myopcode = 0;
for (b=0; b < opset_len; b++) {
U16 bits = bitmap[b];