All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: Stefan Weil <weil@mail.berlios.de>
Cc: Blue Swirl <blauwirbel@gmail.com>,
	QEMU Developers <qemu-devel@nongnu.org>,
	Markus Armbruster <armbru@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 2/2] target-microblaze: Use %td for ptrdiff_t arguments in debug message
Date: Sat, 2 Oct 2010 13:42:26 +0200	[thread overview]
Message-ID: <20101002114226.GD10823@laped.lan> (raw)
In-Reply-To: <1286016064-6345-2-git-send-email-weil@mail.berlios.de>

On Sat, Oct 02, 2010 at 12:41:04PM +0200, Stefan Weil wrote:
> According to ISO/IEC 9899:1999 7.19.6.1,
> the correct length modifier for ptrdiff_t is 't', not 'z'.
> 
> Cc: Blue Swirl <blauwirbel@gmail.com>
> Cc: Markus Armbruster <armbru@redhat.com>
> Signed-off-by: Stefan Weil <weil@mail.berlios.de>

Applied both this one and the cris patch.

Thanks


> ---
>  target-microblaze/translate.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c
> index 6c305d4..38149bb 100644
> --- a/target-microblaze/translate.c
> +++ b/target-microblaze/translate.c
> @@ -1516,7 +1516,7 @@ gen_intermediate_code_internal(CPUState *env, TranslationBlock *tb,
>  #if DISAS_GNU
>          log_target_disas(pc_start, dc->pc - pc_start, 0);
>  #endif
> -        qemu_log("\nisize=%d osize=%zd\n",
> +        qemu_log("\nisize=%d osize=%td\n",
>              dc->pc - pc_start, gen_opc_ptr - gen_opc_buf);
>      }
>  #endif
> -- 
> 1.7.1
> 
> 

      reply	other threads:[~2010-10-02 11:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-02 10:41 [Qemu-devel] [PATCH 1/2] target-cris: Use %td for ptrdiff_t arguments in debug message Stefan Weil
2010-10-02 10:41 ` [Qemu-devel] [PATCH 2/2] target-microblaze: " Stefan Weil
2010-10-02 11:42   ` Edgar E. Iglesias [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=20101002114226.GD10823@laped.lan \
    --to=edgar.iglesias@gmail.com \
    --cc=armbru@redhat.com \
    --cc=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=weil@mail.berlios.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.