Skip to content

Commit a58a869

Browse files
committed
Disable clang-tidy warning
1 parent 0af04dc commit a58a869

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/osmium/io/detail/string_table.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ namespace osmium {
215215
std::size_t hash = 5381;
216216
int c = 0;
217217

218-
while ((c = static_cast<signed char>(*str++))) {
218+
while ((c = static_cast<signed char>(*str++))) { // NOLINT(bugprone-signed-char-misuse,cert-str34-c)
219219
hash = ((hash << 5U) + hash) + c; /* hash * 33 + c */
220220
}
221221

0 commit comments

Comments
 (0)