Skip to content
  • Stefan Hajnoczi's avatar
    tests: fix 64-bit int literals for 32-bit hosts · 5cb6be2c
    Stefan Hajnoczi authored
    
    
    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: default avatarStefan Hajnoczi <stefanha@redhat.com>
    Reviewed-by: default avatarEric Blake <eblake@redhat.com>
    Message-id: 1383669768-23926-1-git-send-email-stefanha@redhat.com
    Signed-off-by: default avatarAnthony Liguori <aliguori@amazon.com>
    5cb6be2c