mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 06:26:02 -07:00
Code format
This commit is contained in:
parent
8f96b69a25
commit
4cf218643e
1 changed files with 3 additions and 2 deletions
|
@ -2982,8 +2982,9 @@ inline constexpr unsigned int str2tag_core(const char *s, size_t l,
|
|||
? h
|
||||
: str2tag_core(
|
||||
s + 1, l - 1,
|
||||
//unsets the 6 high bits of h, therefore no overflow happens
|
||||
(((std::numeric_limits<unsigned int>::max)() >> 6) & h * 33) ^
|
||||
// Unsets the 6 high bits of h, therefore no overflow happens
|
||||
(((std::numeric_limits<unsigned int>::max)() >> 6) &
|
||||
h * 33) ^
|
||||
static_cast<unsigned char>(*s));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue