From 749688d22abef3f3cb9a0480e15c19a3f2ed8e13 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 13 Mar 2020 19:49:29 +0100 Subject: executor: fix format warning --- executor/executor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/executor/executor.cc b/executor/executor.cc index bc97b5f41..9553228a2 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -901,10 +901,10 @@ void handle_completion(thread_t* th) for (int i = 0; i < kMaxThreads; i++) { thread_t* th1 = &threads[i]; fprintf(stderr, "th #%2d: created=%d executing=%d colliding=%d" - " ready=%d done=%d call_index=%d res=%ld reserrno=%d\n", + " ready=%d done=%d call_index=%d res=%lld reserrno=%d\n", i, th1->created, th1->executing, th1->colliding, event_isset(&th1->ready), event_isset(&th1->done), - th1->call_index, th1->res, th1->reserrno); + th1->call_index, (uint64)th1->res, th1->reserrno); } fail("running = %d", running); } -- cgit mrf-deployment