From: "Andreas Färber" <andreas.faerber@web.de>
To: qemu-devel@nongnu.org
Cc: cerbere@gmail.com, "Andreas Färber" <andreas.faerber@web.de>
Subject: [Qemu-devel] [PATCH 2/2] coreaudio: Fix format for UInt32 type
Date: Thu, 23 Jun 2011 13:43:03 +0200 [thread overview]
Message-ID: <1308829383-11282-3-git-send-email-andreas.faerber@web.de> (raw)
In-Reply-To: <1308829383-11282-2-git-send-email-andreas.faerber@web.de>
coreaudioVoiceOut's audioDevicePropertyBufferFrameSize is defined as UInt32.
Use %u instead of %ld to avoid a warning on ppc64.
Cc: malc <av1474@comtv.ru>
Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
---
audio/coreaudio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/audio/coreaudio.c b/audio/coreaudio.c
index d2b9248..69a0f05 100644
--- a/audio/coreaudio.c
+++ b/audio/coreaudio.c
@@ -360,7 +360,7 @@ 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",
+ "Could not set device buffer frame size %u\n",
core->audioDevicePropertyBufferFrameSize);
return -1;
}
--
1.7.5.3
next prev parent reply other threads:[~2011-06-23 11:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-23 11:43 [Qemu-devel] [PATCH 0/2] Darwin CoreAudio warning fixes Andreas Färber
2011-06-23 11:43 ` [Qemu-devel] [PATCH RFT 1/2] coreaudio: Fix OSStatus format specifier Andreas Färber
2011-06-23 11:43 ` Andreas Färber [this message]
2011-06-23 12:54 ` malc
2011-06-23 14:24 ` [Qemu-devel] [PATCH v2 " Andreas Färber
2011-06-23 14:24 ` [Qemu-devel] [PATCH 2/2] coreaudio: Avoid formatting UInt32 type Andreas Färber
2011-06-23 14:56 ` Andreas Färber
2011-06-23 14:58 ` [Qemu-devel] [PATCH v2 1/2] coreaudio: Fix OSStatus format specifier malc
2011-06-29 3:08 ` Alexandre Raymond
2011-06-23 14:29 ` [Qemu-devel] [PATCH RFT " Andreas Färber
2011-06-23 11:48 ` [Qemu-devel] [PATCH 0/2] Darwin CoreAudio warning fixes Andreas Färber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1308829383-11282-3-git-send-email-andreas.faerber@web.de \
--to=andreas.faerber@web.de \
--cc=cerbere@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).