From a6e4c198a23217f126a5abf759b91382dd829e90 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 21 Nov 2006 22:23:35 +0000 Subject: Fixed the rest of the -Wall complaints. This has made the xmlrepltest particularly lame. --- src/tests/hashtest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tests/hashtest.cpp') diff --git a/src/tests/hashtest.cpp b/src/tests/hashtest.cpp index f31a3f8..eaa84a0 100644 --- a/src/tests/hashtest.cpp +++ b/src/tests/hashtest.cpp @@ -68,7 +68,7 @@ int main() { h.insert( names[j], (void *)(j+1) ); h.insert( names[j], (void *)(j+1) ); - printf("Capacity: %d, Size: %d, Load: %f\n", + printf("Capacity: %lu, Size: %lu, Load: %f\n", h.getCapacity(), h.getSize(), h.getLoad() @@ -86,7 +86,7 @@ int main() { h.del( names[k] ); //h.insert( names[j], (void *)(j+1) ); - printf("Capacity: %d, Size: %d, Load: %f\n", + printf("Capacity: %lu, Size: %lu, Load: %f\n", h.getCapacity(), h.getSize(), h.getLoad() @@ -98,7 +98,7 @@ int main() for( ; names[j] != NULL; j++ ) { h.insert( names[j], (void *)(j+1) ); - printf("Capacity: %d, Size: %d, Load: %f\n", + printf("Capacity: %lu, Size: %lu, Load: %f\n", h.getCapacity(), h.getSize(), h.getLoad() -- cgit v1.2.3