Skip to content

Commit

Permalink
main: fix thrd_t format
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Sep 5, 2023
1 parent 138ea74 commit c2e21b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1329,8 +1329,8 @@ int re_thread_check(bool debug)
DEBUG_WARNING(
"thread check: called from a NON-RE thread without "
"thread_enter()! [te=%d, eq=%d]\n", te, eq);
fprintf(stderr, ".... tid=%lu\n", re->tid);
fprintf(stderr, ".... cur=%lu\n", cur);
fprintf(stderr, ".... tid=%zu\n", (size_t)re->tid);
fprintf(stderr, ".... cur=%zu\n", (size_t)cur);

#if DEBUG_LEVEL > 5
struct btrace trace;
Expand Down

0 comments on commit c2e21b9

Please sign in to comment.