Re: [libvirt] [PATCH] build: fix 32-bit test failure

2011-04-25 Thread Laine Stump
On 04/21/2011 10:26 AM, Eric Blake wrote: ARRAY_CARDINALITY is typed as size_t, not long; this matters on 32-bit platforms: hashtest.c: In function 'testHashRemoveForEach': hashtest.c:114: error: format '%lu' expects type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat] *

[libvirt] [PATCH] build: fix 32-bit test failure

2011-04-21 Thread Eric Blake
ARRAY_CARDINALITY is typed as size_t, not long; this matters on 32-bit platforms: hashtest.c: In function 'testHashRemoveForEach': hashtest.c:114: error: format '%lu' expects type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat] * tests/hashtest.c (testHashRemoveForEach): U