Skip to content

Commit 7c01de8

Browse files
committed
1 parent 5c6d7df commit 7c01de8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/db-copy-mgr.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ class db_copy_mgr_t
258258
char const *const lookup_hex = "0123456789ABCDEF";
259259

260260
for (auto c : wkb) {
261-
auto const num = static_cast<unsigned int>(c);
261+
unsigned int const num = static_cast<unsigned char>(c);
262262
m_current->buffer += lookup_hex[(num >> 4U) & 0xfU];
263263
m_current->buffer += lookup_hex[num & 0xfU];
264264
}

0 commit comments

Comments
 (0)