Re: [Qemu-devel] [PATCH RFT 1/2] coreaudio: Fix OSStatus format specifier

2011-06-23 Thread Andreas Färber
Am 23.06.2011 um 14:54 schrieb malc: On Thu, 23 Jun 2011, Andreas F?rber wrote: OSStatus type is defined as SInt32. Use %d format instead of %ld to avoid a warning on ppc64. Which itself is defined as typedef signed longSInt32; (here on ppc32 inside: /Developer/SDKs/MacOSX10.4u.sdk

Re: [Qemu-devel] [PATCH RFT 1/2] coreaudio: Fix OSStatus format specifier

2011-06-23 Thread malc
On Thu, 23 Jun 2011, Andreas F?rber wrote: > OSStatus type is defined as SInt32. > Use %d format instead of %ld to avoid a warning on ppc64. Which itself is defined as typedef signed longSInt32; (here on ppc32 inside: /Developer/SDKs/MacOSX10.4u.sdk/usr/include/libkern/OSTypes.h) So i'

[Qemu-devel] [PATCH RFT 1/2] coreaudio: Fix OSStatus format specifier

2011-06-23 Thread Andreas Färber
OSStatus type is defined as SInt32. Use %d format instead of %ld to avoid a warning on ppc64. Cc: Alexandre Raymond Cc: malc Signed-off-by: Andreas Faerber --- Alexandre, Could you please test this on v10.6? Thanks! audio/coreaudio.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(