summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorNicolas R <atoomic@cpan.org>2020-07-22 17:46:03 -0600
committerKarl Williamson <khw@cpan.org>2020-07-22 18:11:14 -0600
commit924b0bfd9d159bece72423ebd5674d82284e0f5c (patch)
tree144f5c02d25c261505c1f784aa61f0ca0f1023ae /utf8.h
parentf54fc57ff3a5b11840a04e792a46d4c6adfd27c3 (diff)
downloadperl-924b0bfd9d159bece72423ebd5674d82284e0f5c.tar.gz
Fix typo when using nBIT_UMAX
nBIT_MAX was used instead of nBIT_UMAX from d223e1ea9ae864c0e563187f1e76 changes note: at first glance it seems that nBIT_UMAX is an alias for nBIT_MASK
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.h b/utf8.h
index fc27df510a..f530172637 100644
--- a/utf8.h
+++ b/utf8.h
@@ -419,7 +419,7 @@ encoded as UTF-8. C<cp> is a native (ASCII or EBCDIC) code point if less than
/* The largest code point representable by two UTF-8 bytes on any platform that
* Perl runs on. This value is constrained by EBCDIC which has 5 bits per
* continuation byte */
-#define MAX_PORTABLE_UTF8_TWO_BYTE (32 * nBIT_MAX(5))
+#define MAX_PORTABLE_UTF8_TWO_BYTE (32 * nBIT_UMAX(5))
/*