summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-12-27 22:16:09 -0700
committerKarl Williamson <khw@cpan.org>2020-01-03 21:55:15 -0700
commit9fde59141061b7875147a92b1e1dc991756c2e1e (patch)
tree1de41ab5e2c632b6fce3d591bc309c68cfd1e809 /utf8.c
parentf46dcac2d383af532d3e8c014488fba83a514309 (diff)
downloadperl-9fde59141061b7875147a92b1e1dc991756c2e1e.tar.gz
utf8.c: Change internal variable's type
Packed warnings are 32 bit. This silences some compiler warnings.
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 94fcba99d0..56c83bd6a8 100644
--- a/utf8.c
+++ b/utf8.c
@@ -1874,7 +1874,7 @@ Perl__utf8n_to_uvchr_msgs_helper(const U8 *s,
}
while (possible_problems) { /* Handle each possible problem */
- UV pack_warn = 0;
+ U32 pack_warn = 0;
char * message = NULL;
U32 this_flag_bit = 0;