Skip to content

Commit

Permalink
fixup! core: 64 bit compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
fzi-haxel committed Dec 8, 2023
1 parent 74c43df commit 247798a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/mbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ int _mbox_put(mbox_t *mbox, msg_t *msg, int blocking)
list_node_t *next = list_remove_head(&mbox->readers);

if (next) {
DEBUG("mbox: Thread %" PRIkernel_pid " mbox 0x%08" PRIuPTR ": _tryput(): "
DEBUG("mbox: Thread %" PRIkernel_pid " mbox 0x%08" PRIxPTR ": _tryput(): "
"there's a waiter.\n", thread_getpid(), (uintptr_t)mbox);
thread_t *thread =
container_of((clist_node_t *)next, thread_t, rq_entry);
Expand All @@ -84,7 +84,7 @@ int _mbox_put(mbox_t *mbox, msg_t *msg, int blocking)
}
}

DEBUG("mbox: Thread %" PRIkernel_pid " mbox 0x%08" PRIuPTR ": _tryput(): "
DEBUG("mbox: Thread %" PRIkernel_pid " mbox 0x%08" PRIxPTR ": _tryput(): "
"queued message.\n", thread_getpid(), (uintptr_t)mbox);
msg->sender_pid = thread_getpid();
/* copy msg into queue */
Expand Down

0 comments on commit 247798a

Please sign in to comment.