From 34c18f5f43b3b7804b5650b5af67100262557297 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 27 Dec 2017 10:21:12 +0100 Subject: executor: fix another format bug Detected only by clang. --- executor/common_linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/common_linux.h') diff --git a/executor/common_linux.h b/executor/common_linux.h index 7f2247d12..8919e6b5b 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -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"); } -- cgit mrf-deployment