aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-12-27 10:21:12 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-12-27 10:21:12 +0100
commit34c18f5f43b3b7804b5650b5af67100262557297 (patch)
tree5d2d197bb8b01ebd71937d07c692c5c4eb7edac8 /executor/common_linux.h
parent09c8f4c00afda40f484bc2e39e4718fc548c066e (diff)
executor: fix another format bug
Detected only by clang.
Diffstat (limited to 'executor/common_linux.h')
-rw-r--r--executor/common_linux.h2
1 files changed, 1 insertions, 1 deletions
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");
}