qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: Stefan Weil <weil@mail.berlios.de>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] qtest: fix 32-bit build
Date: Fri, 30 Mar 2012 12:59:04 -0500	[thread overview]
Message-ID: <4F75F468.7010804@codemonkey.ws> (raw)
In-Reply-To: <1333130099-25238-1-git-send-email-aliguori@us.ibm.com>

Applied.  Sorry for the breakage.

Regards,

Anthony Liguori

On 03/30/2012 12:54 PM, Anthony Liguori wrote:
> time_t appears to be an unsigned long so use %ld.
>
> Reported-by: Stefan Weil<weil@mail.berlios.de>
> Signed-off-by: Anthony Liguori<aliguori@us.ibm.com>
> ---
>   qtest.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/qtest.c b/qtest.c
> index 53e2b79..cd7186c 100644
> --- a/qtest.c
> +++ b/qtest.c
> @@ -34,7 +34,7 @@ static int irq_levels[MAX_IRQ];
>   static struct timeval start_time;
>   static bool qtest_opened;
>
> -#define FMT_timeval "%" PRId64 ".%06" PRId64
> +#define FMT_timeval "%ld.%06ld"
>
>   /**
>    * QTest Protocol

  reply	other threads:[~2012-03-30 17:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-30 17:54 [Qemu-devel] [PATCH] qtest: fix 32-bit build Anthony Liguori
2012-03-30 17:59 ` Anthony Liguori [this message]
2012-03-30 18:03   ` Stefan Weil
2012-03-30 18:29     ` Anthony Liguori
2012-03-30 18:55       ` Paolo Bonzini
2012-03-30 19:06         ` Anthony Liguori
2012-03-30 19:13           ` Paolo Bonzini
2012-03-30 19:16             ` Anthony Liguori
2012-03-30 19:23               ` Stefan Weil
2012-03-30 19:27                 ` Anthony Liguori
2012-03-30 19:57             ` Blue Swirl
2012-03-30 23:19 ` Eric Blake

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=4F75F468.7010804@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=aliguori@us.ibm.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 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).