summaryrefslogtreecommitdiffstats
path: root/module/unicode/u8_textprep.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/unicode/u8_textprep.c')
-rw-r--r--module/unicode/u8_textprep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/unicode/u8_textprep.c b/module/unicode/u8_textprep.c
index 9cd8a0060..60e586d25 100644
--- a/module/unicode/u8_textprep.c
+++ b/module/unicode/u8_textprep.c
@@ -146,7 +146,7 @@
/* The following are some convenience macros. */
#define U8_PUT_3BYTES_INTO_UTF32(u, b1, b2, b3) \
(u) = ((((uint32_t)(b1) & 0x0F) << 12) | \
- (((uint32_t)(b2) & 0x3F) << 6) | \
+ (((uint32_t)(b2) & 0x3F) << 6) | \
((uint32_t)(b3) & 0x3F));
#define U8_SIMPLE_SWAP(a, b, t) \