]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: fix 32-bit test failure
authorEric Blake <eblake@redhat.com>
Wed, 27 Apr 2011 16:46:12 +0000 (10:46 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 27 Apr 2011 16:46:12 +0000 (10:46 -0600)
Same fix as commit 1fc288e1e25.

* tests/hashtest.c (testHashRemoveForEach): Use correct format.

tests/hashtest.c

index 414832eacaed0edef0ffe086bfcc2dbc2c910469..bb3a8128df227a8f1d554839828e55d3245b9e6c 100644 (file)
@@ -360,7 +360,7 @@ testHashForEach(const void *data ATTRIBUTE_UNUSED)
     if (count != ARRAY_CARDINALITY(uuids)) {
         if (virTestGetVerbose()) {
             testError("\nvirHashForEach didn't go through all entries,"
-                      " %d != %lu\n",
+                      " %d != %zu\n",
                       count, ARRAY_CARDINALITY(uuids));
         }
         goto cleanup;