[MPlayer-cvslog] r31712 - trunk/libao2/ao_coreaudio.c

Diego Biurrun diego at biurrun.de
Mon Jul 12 19:45:35 CEST 2010


On Sun, Jul 11, 2010 at 10:53:58PM +0200, adrian wrote:
> 
> Log:
> Fix printf specifiers used in ao_coreaudio. Fixes warnings:
> libao2/ao_coreaudio.c:203: warning: format '%lu' expects type 'long unsigned int', but argument n has type 'UInt32'

I still get a large number of these, maybe you can fix them:

libao2/ao_coreaudio.c: In function 'print_format':
libao2/ao_coreaudio.c:206: warning: format '%u' expects type 'unsigned int', but argument 6 has type 'UInt32'
libao2/ao_coreaudio.c:206: warning: format '%u' expects type 'unsigned int', but argument 11 has type 'UInt32'
libao2/ao_coreaudio.c:206: warning: format '%u' expects type 'unsigned int', but argument 12 has type 'UInt32'
libao2/ao_coreaudio.c:206: warning: format '%u' expects type 'unsigned int', but argument 13 has type 'UInt32'
libao2/ao_coreaudio.c:206: warning: format '%u' expects type 'unsigned int', but argument 14 has type 'UInt32'
libao2/ao_coreaudio.c:206: warning: format '%u' expects type 'unsigned int', but argument 15 has type 'UInt32'
libao2/ao_coreaudio.c: In function 'print_help':
libao2/ao_coreaudio.c:382: warning: format '%u' expects type 'unsigned int', but argument 5 has type 'long unsigned int'
libao2/ao_coreaudio.c:385: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'long unsigned int'
libao2/ao_coreaudio.c: In function 'init':
libao2/ao_coreaudio.c:457: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'AudioDeviceID'

Diego


More information about the MPlayer-cvslog mailing list