]> Git Repo - qemu.git/commit
coreaudio: Avoid formatting UInt32 type
authorAndreas Färber <[email protected]>
Thu, 23 Jun 2011 14:24:46 +0000 (16:24 +0200)
committermalc <[email protected]>
Thu, 23 Jun 2011 14:56:50 +0000 (18:56 +0400)
commitcbc36cb05d56bc510e85d14059ee0ae2ae6e3126
treea6ee3bd4101f7ee34c885af937074e2d840cedef
parent48e2faf222cbf4abab7c8e4b3f44229ec98eae7f
coreaudio: Avoid formatting UInt32 type

coreaudioVoiceOut's audioDevicePropertyBufferFrameSize is defined as UInt32
and is being used by reference for AudioDevice{Get,Set}Property().
UInt32 is unsigned int on __LP64__ but unsigned long otherwise.

Cast to POSIX type and use PRIu32 format specifier to hide the details.
This avoids a warning on ppc64.

Cc: malc <[email protected]>
Signed-off-by: Andreas Faerber <[email protected]>
Signed-off-by: malc <[email protected]>
audio/coreaudio.c
This page took 0.025485 seconds and 4 git commands to generate.