Fix use of SvPVXtrue() where SvTRUEx() was intended
This commit is contained in:
parent
b3281924d1
commit
e7a9f165de
3 changed files with 6 additions and 6 deletions
|
|
@ -272,7 +272,7 @@ static SV *fujson_parse_xs(pTHX_ I32 ax, I32 argc, SV *val) {
|
|||
r = ST(i);
|
||||
i++;
|
||||
|
||||
if (strcmp(arg, "utf8") == 0) decutf8 = SvPVXtrue(r);
|
||||
if (strcmp(arg, "utf8") == 0) decutf8 = SvTRUEx(r);
|
||||
else if (strcmp(arg, "max_size") == 0) maxlen = SvUV(r);
|
||||
else if (strcmp(arg, "max_depth") == 0) ctx.depth = SvUV(r);
|
||||
else if (strcmp(arg, "offset") == 0) offset = r;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue