This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.c: Add a const to a function parameter
[perl5.git] / utf8.c
diff --git a/utf8.c b/utf8.c
index fd965f8..ed5b027 100644 (file)
--- a/utf8.c
+++ b/utf8.c
@@ -146,7 +146,7 @@ For details, see the description for L</uvchr_to_utf8_flags>.
 #define MASK    UTF_CONTINUATION_MASK
 
 U8 *
-Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
+Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, const UV flags)
 {
     PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS;