]> git.proxmox.com Git - qemu.git/commit
tests: fix 64-bit int literals for 32-bit hosts
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 5 Nov 2013 16:42:48 +0000 (17:42 +0100)
committerAnthony Liguori <aliguori@amazon.com>
Wed, 6 Nov 2013 03:59:43 +0000 (19:59 -0800)
commit5cb6be2ca3094f4b6b6fd4c44eabec0098acd3e3
tree628fb976c5082e57111332cc475005158ae12b6d
parent6f1ce94a2935dab5d0aa3bd13ecc33e352213dc7
tests: fix 64-bit int literals for 32-bit hosts

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>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1383669768-23926-1-git-send-email-stefanha@redhat.com
Signed-off-by: Anthony Liguori <aliguori@amazon.com>
tests/endianness-test.c
tests/test-bitops.c
tests/test-opts-visitor.c