diff options
author | Jerome Duval <jerome.duval@gmail.com> | 2019-04-25 23:19:43 +0200 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-05-24 17:09:29 -0600 |
commit | 72299e00ea670f308805c0327b3a5d0cfc2d4a62 (patch) | |
tree | c8f40848db496609220abe78e3bc4151b9c488b5 /locale.c | |
parent | 79780975167f37019a43a656947fc7f7d167d29f (diff) | |
download | perl-72299e00ea670f308805c0327b3a5d0cfc2d4a62.tar.gz |
locale.c: remove unnecessary cast
This was failing in gcc 2.95. The original commit added a cast, but we
figured out that removing this other one that really served no purpose
causes this compiler to work.
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -5052,9 +5052,7 @@ Perl__is_cur_LC_category_utf8(pTHX_ int category) Copy(delimited, utf8ness_cache, input_name_len_with_overhead - 1, char); utf8ness_cache[input_name_len_with_overhead - 1] = is_utf8 + '0'; - if ((PL_locale_utf8ness[strlen(PL_locale_utf8ness)-1] - & (PERL_UINTMAX_T) ~1) != '0') - { + if ((PL_locale_utf8ness[strlen(PL_locale_utf8ness)-1] & ~1) != '0') { Perl_croak(aTHX_ "panic: %s: %d: Corrupt utf8ness_cache=%s\nlen=%zu," " inserted_name=%s, its_len=%zu\n", |