Re: [libvirt] [PATCH] Fix compilation error on 32bit

2012-04-10 Thread Stefan Berger
On 04/09/2012 12:23 PM, Eric Blake wrote: On 04/06/2012 01:13 PM, Stefan Berger wrote: Below code failed to compile on a 32 bit machine with error typewrappers.c: In function 'libvirt_intUnwrap': typewrappers.c:135:5: error: logical 'and' of mutually exclusive tests is always false [-Werror=log

Re: [libvirt] [PATCH] Fix compilation error on 32bit

2012-04-09 Thread Eric Blake
On 04/06/2012 01:13 PM, Stefan Berger wrote: > Below code failed to compile on a 32 bit machine with error > > typewrappers.c: In function 'libvirt_intUnwrap': > typewrappers.c:135:5: error: logical 'and' of mutually exclusive tests > is always false [-Werror=logical-op] > cc1: all warnings being

[libvirt] [PATCH] Fix compilation error on 32bit

2012-04-06 Thread Stefan Berger
Below code failed to compile on a 32 bit machine with error typewrappers.c: In function 'libvirt_intUnwrap': typewrappers.c:135:5: error: logical 'and' of mutually exclusive tests is always false [-Werror=logical-op] cc1: all warnings being treated as errors The patch fixes this error. Stef