]> git.proxmox.com Git - mirror_qemu.git/commit - audio/coreaudio.m
coreaudio: Fix OSStatus format specifier
authorAndreas Färber <andreas.faerber@web.de>
Thu, 23 Jun 2011 14:24:45 +0000 (16:24 +0200)
committermalc <av1474@comtv.ru>
Thu, 23 Jun 2011 14:56:58 +0000 (18:56 +0400)
commit744d3644181ddb16ef5944a0f9217e46961c8c84
tree4140a8e7972c644a57f47f209bbb8baa4385177e
parentcbc36cb05d56bc510e85d14059ee0ae2ae6e3126
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 <av1474@comtv.ru>
Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
Signed-off-by: malc <av1474@comtv.ru>
audio/coreaudio.c