[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] tests: fix 64-bit int literals for 32-bit hosts
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH] tests: fix 64-bit int literals for 32-bit hosts |
Date: |
Tue, 05 Nov 2013 09:50:30 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
On 11/05/2013 09:42 AM, 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 <address@hidden>
> ---
> tests/endianness-test.c | 3 ++-
> tests/test-bitops.c | 4 ++--
> tests/test-opts-visitor.c | 2 +-
> 3 files changed, 5 insertions(+), 4 deletions(-)
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature