diff --git a/httplib.h b/httplib.h index 50c7709..c12a5a2 100644 --- a/httplib.h +++ b/httplib.h @@ -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::max)() >> 6) & h * 33) ^ + // Unsets the 6 high bits of h, therefore no overflow happens + (((std::numeric_limits::max)() >> 6) & + h * 33) ^ static_cast(*s)); }