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 0af04dc commit a58a869Copy full SHA for a58a869
1 file changed
include/osmium/io/detail/string_table.hpp
@@ -215,7 +215,7 @@ namespace osmium {
215
std::size_t hash = 5381;
216
int c = 0;
217
218
- while ((c = static_cast<signed char>(*str++))) {
+ while ((c = static_cast<signed char>(*str++))) { // NOLINT(bugprone-signed-char-misuse,cert-str34-c)
219
hash = ((hash << 5U) + hash) + c; /* hash * 33 + c */
220
}
221
0 commit comments