Skip to content

Commit 431a1cd

Browse files
committed
pp_schop: suppress Coverity defect report
This also fixes a similar warning with -Wconversion. Fixes CID584015
1 parent 180c7bb commit 431a1cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ PP(pp_schop)
901901

902902
const size_t count = do_chomp(TARG, *PL_stack_sp, chomping);
903903
if (chomping)
904-
sv_setiv(TARG, count);
904+
sv_setiv(TARG, (IV)count);
905905
SvSETMAGIC(TARG);
906906
rpp_replace_1_1_NN(TARG);
907907
return NORMAL;

0 commit comments

Comments
 (0)