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.
2 parents 5c6d7df + 7c01de8 commit 09c2dcdCopy full SHA for 09c2dcd
src/db-copy-mgr.hpp
@@ -258,7 +258,7 @@ class db_copy_mgr_t
258
char const *const lookup_hex = "0123456789ABCDEF";
259
260
for (auto c : wkb) {
261
- auto const num = static_cast<unsigned int>(c);
+ unsigned int const num = static_cast<unsigned char>(c);
262
m_current->buffer += lookup_hex[(num >> 4U) & 0xfU];
263
m_current->buffer += lookup_hex[num & 0xfU];
264
}
0 commit comments