Re: [Qemu-devel] [PATCH] tests: fix 64-bit int literals for 32-bit hosts

2013-11-05 Thread Laszlo Ersek
On 11/05/13 17:42, Stefan Hajnoczi wrote: > On 32-bit hosts: > > CCtests/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 > CCtests/test-bitops.o > tests/test-bitops.c:3

Re: [Qemu-devel] [PATCH] tests: fix 64-bit int literals for 32-bit hosts

2013-11-05 Thread Eric Blake
On 11/05/2013 09:42 AM, Stefan Hajnoczi wrote: > On 32-bit hosts: > > CCtests/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 > CCtests/test-bitops.o > tests/test-bitop

[Qemu-devel] [PATCH] tests: fix 64-bit int literals for 32-bit hosts

2013-11-05 Thread Stefan Hajnoczi
On 32-bit hosts: CCtests/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 CCtests/test-bitops.o tests/test-bitops.c:34: warning: integer constant is too large for 'long' type