summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/coreaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/coreaudio.c b/audio/coreaudio.c
index 3bd75cdda4..0c6f1ef607 100644
--- a/audio/coreaudio.c
+++ b/audio/coreaudio.c
@@ -360,8 +360,8 @@ static int coreaudio_init_out (HWVoiceOut *hw, struct audsettings *as)
&core->audioDevicePropertyBufferFrameSize);
if (status != kAudioHardwareNoError) {
coreaudio_logerr2 (status, typ,
- "Could not set device buffer frame size %ld\n",
- core->audioDevicePropertyBufferFrameSize);
+ "Could not set device buffer frame size %" PRIu32 "\n",
+ (uint32_t)core->audioDevicePropertyBufferFrameSize);
return -1;
}