projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
SvPVX_const() - part 3 ... and const'ing Storable
[p5sagit/p5-mst-13.2.git]
/
ext
/
Opcode
/
Opcode.xs
diff --git
a/ext/Opcode/Opcode.xs
b/ext/Opcode/Opcode.xs
index
62b4d05
..
50c0a4f
100644
(file)
--- a/
ext/Opcode/Opcode.xs
+++ b/
ext/Opcode/Opcode.xs
@@
-133,7
+133,7
@@
new_opset(pTHX_ SV *old_opset)
}
else {
opset = NEWSV(1156, opset_len);
- Zero(SvPVX(opset), opset_len + 1, char);
+ Zero(SvPVX_const(opset), opset_len + 1, char);
SvCUR_set(opset, opset_len);
(void)SvPOK_only(opset);
}