diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-03-13 19:49:29 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-03-13 19:49:29 +0100 |
| commit | 749688d22abef3f3cb9a0480e15c19a3f2ed8e13 (patch) | |
| tree | c3d4d5b0f4f0b37a09a6ac293b164104f5a52135 /executor | |
| parent | bddb05c5eb472b2286a3cd0245b1b0f06cab68e2 (diff) | |
executor: fix format warning
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/executor.cc | 4 |
1 files 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); } |
