summaryrefslogtreecommitdiff
path: root/ext/B/B.xs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/B/B.xs')
-rw-r--r--ext/B/B.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/B/B.xs b/ext/B/B.xs
index a5aecbb0f9..fc9ef7c4e0 100644
--- a/ext/B/B.xs
+++ b/ext/B/B.xs
@@ -257,7 +257,7 @@ cstring(pTHX_ SV *sv, bool perlstyle)
SV *tmpsv = sv_newmortal(); /* Temporary SV to feed sv_uni_display */
len = SvCUR(sv);
s = sv_uni_display(tmpsv, sv, 8*len, UNI_DISPLAY_QQ);
- sv_setpv(sstr,"\"");
+ sv_setpvn(sstr,"\"",1);
while (*s)
{
if (*s == '"')