summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-06-28 12:57:34 -0600
committerKarl Williamson <khw@cpan.org>2020-09-05 10:50:27 -0600
commitaa80caa786cae3104ef2d754095e19f0ddf9be64 (patch)
tree6bb101ae2b964d930f1c05d91fa46c0a99df23ad /sv.c
parentd8ccb038c67045b492956e422fe4ed0ef6ac351d (diff)
downloadperl-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sv.c b/sv.c
index d123322183..9314001135 100644
--- a/sv.c
+++ b/sv.c
@@ -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;