diff options
author | Karl Williamson <khw@cpan.org> | 2020-06-28 12:57:34 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-09-05 10:50:27 -0600 |
commit | aa80caa786cae3104ef2d754095e19f0ddf9be64 (patch) | |
tree | 6bb101ae2b964d930f1c05d91fa46c0a99df23ad /sv.c | |
parent | d8ccb038c67045b492956e422fe4ed0ef6ac351d (diff) | |
download | perl-aa80caa786cae3104ef2d754095e19f0ddf9be64.tar.gz |
sv.c: Change flags param on two fcns from I32 to U32
This is so the parameter types for sv_2pv_flags and sv_pvn_force_flags
are indistinguishable from similar functions, and can be passed as a
function pointer in a future commit.
It doesn't generally make sense to have a flags variable signed anyway.
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2989,7 +2989,7 @@ C<sv_2pv()> and C<sv_2pv_nomg> usually end up here too. */ char * -Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags) +Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const U32 flags) { char *s; @@ -10101,7 +10101,7 @@ C<L</SvPV_force>> and C<L</SvPV_force_nomg>>. */ char * -Perl_sv_pvn_force_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags) +Perl_sv_pvn_force_flags(pTHX_ SV *const sv, STRLEN *const lp, const U32 flags) { PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS; |