1
0
mirror of synced 2025-04-19 00:24:02 +03:00

Fix fuzzing test error

This commit is contained in:
yhirose 2024-09-05 12:50:05 -04:00
parent 9ff3ff9446
commit bda74db01d

View File

@ -342,8 +342,7 @@ inline unsigned char to_lower(int c) {
240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254,
255,
};
assert(0 <= c && c < 256);
return table[c];
return table[(unsigned char)(char)c];
}
struct case_ignore_equal {