mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
core/msg: Fix mismatched printf signed/unsigned format
cib_avail returns unsigned int
This commit is contained in:
parent
5b44d7e5b0
commit
a83516b2f6
@ -467,7 +467,7 @@ void msg_queue_print(void)
|
||||
unsigned int i = msg_queue->read_count & msg_queue->mask;
|
||||
|
||||
printf("Message queue of thread %" PRIkernel_pid "\n", thread->pid);
|
||||
printf(" size: %u (avail: %d)\n", msg_queue->mask + 1,
|
||||
printf(" size: %u (avail: %u)\n", msg_queue->mask + 1,
|
||||
cib_avail(msg_queue));
|
||||
|
||||
for (; i != (msg_queue->write_count & msg_queue->mask);
|
||||
|
Loading…
Reference in New Issue
Block a user