summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-05-11 18:30:34 -0600
committerKarl Williamson <khw@cpan.org>2017-06-10 11:33:52 -0600
commitbe99e2c20544013502fa8586131363e94dfa69a3 (patch)
tree8c88ed1f0dbd3695fddbd32b3185585ea4dd6547 /utf8.c
parent273a0bac1154c5302f5b2421760bf4bd9be17110 (diff)
downloadperl-be99e2c20544013502fa8586131363e94dfa69a3.tar.gz
utf8.c: Add missing 'const' to formal parameter
This makes it match the embed.fnc entry. For some reason no warning was given except by the Win32 compiler
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index c84fa98310..e8e143c49e 100644
--- a/utf8.c
+++ b/utf8.c
@@ -2604,7 +2604,7 @@ S_warn_on_first_deprecated_use(pTHX_ const char * const name,
bool
Perl__is_utf8_FOO(pTHX_ U8 classnum,
- const U8 *p,
+ const U8 * const p,
const char * const name,
const char * const alternative,
const bool use_utf8,