mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Fix fuzzing test error
This commit is contained in:
parent
9ff3ff9446
commit
bda74db01d
1 changed files with 1 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue