Skip to content

Commit f524f84

Browse files
Little nits
1 parent 1650b4b commit f524f84

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎Objects/stringlib/find_max_char.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#define MAX_CHAR_UCS2 0xffff
1111
#define MAX_CHAR_UCS4 0x10ffff
1212

13-
/* Mask to quickly check whether a C 'size_t' contains a
14-
non-ASCII, UTF8-encoded char. */
13+
/* Masks selecting the bits that are set in a C 'size_t' holding several
14+
characters when at least one of them is wider than ASCII, UCS1 or UCS2. */
1515
#if STRINGLIB_SIZEOF_CHAR == 1
1616
# if SIZEOF_SIZE_T == 8
1717
# define MASK_ASCII 0x8080808080808080ULL
@@ -88,7 +88,7 @@ STRINGLIB(find_max_char)(const STRINGLIB_CHAR *begin, const STRINGLIB_CHAR *end)
8888

8989
while (p + SIZEOF_SIZE_T * 32 <= _end) {
9090
const size_t *pp = (const size_t *)p;
91-
for(int i = 0; i < 32; i++) {
91+
for (int i = 0; i < 32; i++) {
9292
value |= pp[i];
9393
}
9494
if (value & MASK_MAX_CHAR) {

0 commit comments

Comments
 (0)