From: Anthony Liguori <anthony@codemonkey.ws>
To: Corentin Chary <corentincj@iksaif.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/2] vnc: Fix compile error on x86_64 with -D_VNC_DEBUG=1
Date: Mon, 03 May 2010 12:15:23 -0500 [thread overview]
Message-ID: <4BDF04AB.70509@codemonkey.ws> (raw)
In-Reply-To: <1272889879-17563-1-git-send-email-corentincj@iksaif.net>
On 05/03/2010 07:31 AM, Corentin Chary wrote:
> cc1: warnings being treated as errors
> vnc-auth-sasl.c: In function ‘vnc_client_write_sasl’:
> vnc-auth-sasl.c:50: error: format ‘%d’ expects type ‘int’, but argument 4 has type ‘size_t’
> vnc-auth-sasl.c:50: error: format ‘%d’ expects type ‘int’, but argument 5 has type ‘size_t’
> make: *** [vnc-auth-sasl.o] Error 1
>
> Signed-off-by: Corentin Chary<corentincj@iksaif.net>
>
Applied 1/2. Thanks.
Regards,
Anthony Liguori
> ---
> vnc-auth-sasl.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/vnc-auth-sasl.c b/vnc-auth-sasl.c
> index acaac0c..a51ddc8 100644
> --- a/vnc-auth-sasl.c
> +++ b/vnc-auth-sasl.c
> @@ -47,7 +47,8 @@ long vnc_client_write_sasl(VncState *vs)
> {
> long ret;
>
> - VNC_DEBUG("Write SASL: Pending output %p size %d offset %d Encoded: %p size %d offset %d\n",
> + VNC_DEBUG("Write SASL: Pending output %p size %zd offset %zd "
> + "Encoded: %p size %d offset %d\n",
> vs->output.buffer, vs->output.capacity, vs->output.offset,
> vs->sasl.encoded, vs->sasl.encodedLength, vs->sasl.encodedOffset);
>
>
prev parent reply other threads:[~2010-05-03 17:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-03 12:31 [Qemu-devel] [PATCH 1/2] vnc: Fix compile error on x86_64 with -D_VNC_DEBUG=1 Corentin Chary
2010-05-03 12:31 ` [Qemu-devel] [PATCH 2/2] vnc: set the right prefered encoding Corentin Chary
2010-05-03 15:25 ` [Qemu-devel] " Anthony Liguori
2010-05-04 12:01 ` [Qemu-devel] [PATCH] " Corentin Chary
2010-05-06 7:00 ` Corentin Chary
2010-05-03 17:15 ` Anthony Liguori [this message]
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=4BDF04AB.70509@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=corentincj@iksaif.net \
--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).