We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b59d23c commit b2cf04dCopy full SHA for b2cf04d
include/lug/ascii.hpp
@@ -37,7 +37,7 @@ struct ascii_toascii_fn
37
{
38
[[nodiscard]] LUG_ALWAYS_INLINE constexpr auto operator()(int c) const noexcept -> int
39
40
- return static_cast<int>(static_cast<unsigned int>(c & 0x7fU));
+ return static_cast<int>(static_cast<unsigned int>(c) & 0x7fU);
41
}
42
};
43
0 commit comments