Skip to content

Commit 4553a39

Browse files
committed
Use CopLINE() macro instead of direct ->cop_line member access
1 parent 4521b3c commit 4553a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/XS-APItest/APItest.xs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ static OP *THX_parse_keyword_subsignature(pTHX)
11811181
seen_nextstate++;
11821182
retop = op_append_list(OP_LIST, retop, newSVOP(OP_CONST, 0,
11831183
/* newSVpvf("nextstate:%s:%d", CopFILE(cCOPx(kid)), cCOPx(kid)->cop_line))); */
1184-
newSVpvf("nextstate:%u", (unsigned int)cCOPx(kid)->cop_line)));
1184+
newSVpvf("nextstate:%" LINE_Tf, CopLINE(cCOPx(kid)))));
11851185
break;
11861186
case OP_ARGCHECK: {
11871187
struct op_argcheck_aux *p =

0 commit comments

Comments
 (0)