hw: Fix format string for 64 bit platforms

Use the format specifier of the largest possible type and cast the value
to the chosen type. This avoids compiler warnings on x86_64.
This commit is contained in:
Adrian-Ken Rueegsegger 2015-03-19 18:10:03 +01:00 committed by Christian Helmuth
parent 92efc13a17
commit f4cb9101a4
1 changed files with 2 additions and 2 deletions

View File

@ -384,8 +384,8 @@ void Thread::_call_send_request_msg()
{
Thread * const dst = Thread::pool()->object(user_arg_1());
if (!dst) {
PWRN("%s -> %s: cannot send to unknown recipient %u",
pd_label(), label(), user_arg_1());
PWRN("%s -> %s: cannot send to unknown recipient %llu",
pd_label(), label(), (unsigned long long)user_arg_1());
_become_inactive(AWAITS_IPC);
return;
}