All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: alex.bennee@linaro.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] tests: fix 64-bit int literals for 32-bit hosts
Date: Tue, 05 Nov 2013 18:07:07 +0100	[thread overview]
Message-ID: <527925BB.7010908@redhat.com> (raw)
In-Reply-To: <1383669768-23926-1-git-send-email-stefanha@redhat.com>

On 11/05/13 17:42, Stefan Hajnoczi wrote:
> On 32-bit hosts:
> 
>   CC    tests/test-opts-visitor.o
> tests/test-opts-visitor.c: In function 'test_value':
> tests/test-opts-visitor.c:128: warning: integer constant is too large for 'long' type
>   CC    tests/test-bitops.o
> tests/test-bitops.c:34: warning: integer constant is too large for 'long' type
> tests/test-bitops.c:35: warning: integer constant is too large for 'long' type
> tests/test-bitops.c:35: warning: integer constant is too large for 'long' type
>   CC    tests/endianness-test.o
> tests/endianness-test.c:47: warning: integer constant is too large for 'long' type
> 
> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
> ---
>  tests/endianness-test.c   | 3 ++-
>  tests/test-bitops.c       | 4 ++--
>  tests/test-opts-visitor.c | 2 +-
>  3 files changed, 5 insertions(+), 4 deletions(-)

Blame it on still using gnu89 instead of c99 (or gnu99 if must be).

Laszlo

      parent reply	other threads:[~2013-11-05 17:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05 16:42 [Qemu-devel] [PATCH] tests: fix 64-bit int literals for 32-bit hosts Stefan Hajnoczi
2013-11-05 16:50 ` Eric Blake
2013-11-05 17:07 ` Laszlo Ersek [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=527925BB.7010908@redhat.com \
    --to=lersek@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /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.