On 04/19/2011 07:22 AM, Jiri Denemark wrote:
This adds several tests for remaining hash APIs (custom
hasher/comparator functions are not covered yet, though).
+++ b/tests/hashtest.c
Oops, sorry for not noticing sooner, but this again breaks 32-bit builds:
+ if (virTestGetVerbose()) {
+ testError("\nvirHashForEach didn't go through all entries,"
+ " %d != %lu\n",
+ count, ARRAY_CARDINALITY(uuids));
I'm committing the obvious %zu fixup, just like commit 1fc288e.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org