Commit 744d3644 authored by Andreas Färber's avatar Andreas Färber Committed by malc

coreaudio: Fix OSStatus format specifier

OSStatus type is defined as SInt32. That's signed int on __LP64__ and
signed long otherwise.
Since it is an explicit 32-bit-width type, cast to corresponsing POSIX type
and use PRId32 format specifier. This avoids a warning on ppc64.

Cc: malc <>
Signed-off-by: default avatarAndreas Faerber <>
Signed-off-by: default avatarmalc <>
parent cbc36cb0
......@@ -104,7 +104,7 @@ static void coreaudio_logstatus (OSStatus status)
AUD_log (AUDIO_CAP, "Reason: status code %ld\n", status);
AUD_log (AUDIO_CAP, "Reason: status code %" PRId32 "\n", (int32_t)status);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment