We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8f97a7 commit b2b58e7Copy full SHA for b2b58e7
include/cthash/internal/hexdec.hpp
@@ -24,8 +24,8 @@ consteval auto get_hexdec_table() noexcept {
24
}
25
};
26
27
- for (int i = 0; i != static_cast<int>(result.size()); ++i) {
28
- result[static_cast<size_t>(i)] = char_to_hexdec(static_cast<char>(i));
+ for (size_t i = 0; i != result.size(); ++i) {
+ result[i] = char_to_hexdec(static_cast<char>(i));
29
30
31
return result;
0 commit comments