[MPlayer-cvslog] r31712 - trunk/libao2/ao_coreaudio.c
astrange at ithinksw.com
Tue Jul 13 23:04:31 CEST 2010
On Tue, Jul 13, 2010 at 1:58 PM, Adrian Stutz <adrian at sttz.ch> wrote:
> On Mon, Jul 12, 2010 at 19:45, Diego Biurrun <diego at biurrun.de> wrote:
>> I still get a large number of these, maybe you can fix them:
> Hm, it seems my fix wasn't right and I'm not sure how to handle this correctly.
> UInt32 is defined as:
>> #if __LP64__
>> typedef unsigned int UInt32;
>> typedef unsigned long UInt32;
> So it should be %u in 64bit and %lu on 32bit systems (which I guess is
> why the warnings disappeared for me but appeared for you).
> Should I just cast them to unsigned long and use %lu?
Yes, I believe this is the recommended way to print UInt32 and OSStatus.
More information about the MPlayer-cvslog