Commit b660261b authored by Marko Mäkelä's avatar Marko Mäkelä

ut_print_buf_hex(): Correctly dump the hex

This should affect at least rec_printer() output.
parent 73af0753
......@@ -357,7 +357,7 @@ ut_print_buf_hex(
for (data = static_cast<const byte*>(buf), i = 0; i < len; i++) {
byte b = *data++;
o << hexdigit[(int) b >> 16] << hexdigit[b & 15];
o << hexdigit[int(b) >> 4] << hexdigit[b & 15];
}
o << ")";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment