summaryrefslogtreecommitdiff
path: root/proto.h
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 /proto.h
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 'proto.h')
-rw-r--r--proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto.h b/proto.h
index 24a43994ed..c4490fc46e 100644
--- a/proto.h
+++ b/proto.h
@@ -3248,7 +3248,7 @@ PERL_CALLCONV char* Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp);
#define PERL_ARGS_ASSERT_SV_2PV \
assert(sv)
#endif
-PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
+PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const U32 flags);
#define PERL_ARGS_ASSERT_SV_2PV_FLAGS \
assert(sv)
#ifndef NO_MATHOMS
@@ -3596,7 +3596,7 @@ PERL_CALLCONV char* Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp);
#define PERL_ARGS_ASSERT_SV_PVN_FORCE \
assert(sv)
#endif
-PERL_CALLCONV char* Perl_sv_pvn_force_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
+PERL_CALLCONV char* Perl_sv_pvn_force_flags(pTHX_ SV *const sv, STRLEN *const lp, const U32 flags);
#define PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS \
assert(sv)
#ifndef NO_MATHOMS