executor: fix another format bug

Detected only by clang.
This commit is contained in:
Dmitry Vyukov 2017-12-27 10:21:12 +01:00
parent 09c8f4c00a
commit 34c18f5f43
2 changed files with 2 additions and 2 deletions

View File

@ -387,7 +387,7 @@ static void debug_dump_data(const char* data, int length)
{
int i;
for (i = 0; i < length; i++) {
debug("%02hx ", (uint8_t)data[i] & (uint8_t)0xff);
debug("%02x ", data[i] & 0xff);
if (i % 16 == 15)
debug("\n");
}

View File

@ -519,7 +519,7 @@ static void debug_dump_data(const char* data, int length)
{
int i;
for (i = 0; i < length; i++) {
debug("%02hx ", (uint8_t)data[i] & (uint8_t)0xff);
debug("%02x ", data[i] & 0xff);
if (i % 16 == 15)
debug("\n");
}