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 RFT 1/2] coreaudio: Fix OSStatus format specifier
Date: Thu, 23 Jun 2011 13:43:02 +0200 [thread overview]
Message-ID: <1308829383-11282-2-git-send-email-andreas.faerber@web.de> (raw)
In-Reply-To: <1308829383-11282-1-git-send-email-andreas.faerber@web.de>
OSStatus type is defined as SInt32.
Use %d format instead of %ld to avoid a warning on ppc64.
Cc: Alexandre Raymond <cerbere@gmail.com>
Cc: malc <av1474@comtv.ru>
Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
---
Alexandre, Could you please test this on v10.6? Thanks!
audio/coreaudio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/audio/coreaudio.c b/audio/coreaudio.c
index 3bd75cd..d2b9248 100644
--- a/audio/coreaudio.c
+++ b/audio/coreaudio.c
@@ -104,7 +104,7 @@ static void coreaudio_logstatus (OSStatus status)
break;
default:
- AUD_log (AUDIO_CAP, "Reason: status code %ld\n", status);
+ AUD_log (AUDIO_CAP, "Reason: status code %d\n", status);
return;
}
--
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 ` Andreas Färber [this message]
2011-06-23 11:43 ` [Qemu-devel] [PATCH 2/2] coreaudio: Fix format for UInt32 type Andreas Färber
2011-06-23 12:54 ` [Qemu-devel] [PATCH RFT 1/2] coreaudio: Fix OSStatus format specifier 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-2-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).