Skip to content

Commit 6104232

Browse files
Update libc/src/__support/wchar/character_converter.cpp
Co-authored-by: Michael Jones <[email protected]>
1 parent 1a6604e commit 6104232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/__support/wchar/character_converter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ ErrorOr<char8_t> CharacterConverter::pop_utf8() {
5454
// the number of bits per utf-8 byte that actually encode character
5555
// information not metadata (# of bits excluding the byte headers)
5656
const int ENCODED_BITS_PER_BYTE = 6;
57-
const int MASK_LOWER_SIX =
57+
const int MASK_ENCODED_BITS =
5858
mask_trailing_ones<unsigned int, ENCODED_BITS_PER_BYTE>();
5959

6060
char32_t output;

0 commit comments

Comments
 (0)