aboutsummaryrefslogtreecommitdiff
path: root/src/tests/hashtest.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-11-21 22:23:35 +0000
committerMike Buland <eichlan@xagasoft.com>2006-11-21 22:23:35 +0000
commita6e4c198a23217f126a5abf759b91382dd829e90 (patch)
tree1d0d8b8277119ae8cad75a9dc14c5340ac08d7f0 /src/tests/hashtest.cpp
parent54c441564ab1052d4f778c1d43f3bd468917e3d1 (diff)
downloadlibbu++-a6e4c198a23217f126a5abf759b91382dd829e90.tar.gz
libbu++-a6e4c198a23217f126a5abf759b91382dd829e90.tar.bz2
libbu++-a6e4c198a23217f126a5abf759b91382dd829e90.tar.xz
libbu++-a6e4c198a23217f126a5abf759b91382dd829e90.zip
Fixed the rest of the -Wall complaints. This has made the xmlrepltest
particularly lame.
Diffstat (limited to 'src/tests/hashtest.cpp')
-rw-r--r--src/tests/hashtest.cpp6
1 files changed, 3 insertions, 3 deletions
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()
68 { 68 {
69 h.insert( names[j], (void *)(j+1) ); 69 h.insert( names[j], (void *)(j+1) );
70 h.insert( names[j], (void *)(j+1) ); 70 h.insert( names[j], (void *)(j+1) );
71 printf("Capacity: %d, Size: %d, Load: %f\n", 71 printf("Capacity: %lu, Size: %lu, Load: %f\n",
72 h.getCapacity(), 72 h.getCapacity(),
73 h.getSize(), 73 h.getSize(),
74 h.getLoad() 74 h.getLoad()
@@ -86,7 +86,7 @@ int main()
86 { 86 {
87 h.del( names[k] ); 87 h.del( names[k] );
88 //h.insert( names[j], (void *)(j+1) ); 88 //h.insert( names[j], (void *)(j+1) );
89 printf("Capacity: %d, Size: %d, Load: %f\n", 89 printf("Capacity: %lu, Size: %lu, Load: %f\n",
90 h.getCapacity(), 90 h.getCapacity(),
91 h.getSize(), 91 h.getSize(),
92 h.getLoad() 92 h.getLoad()
@@ -98,7 +98,7 @@ int main()
98 for( ; names[j] != NULL; j++ ) 98 for( ; names[j] != NULL; j++ )
99 { 99 {
100 h.insert( names[j], (void *)(j+1) ); 100 h.insert( names[j], (void *)(j+1) );
101 printf("Capacity: %d, Size: %d, Load: %f\n", 101 printf("Capacity: %lu, Size: %lu, Load: %f\n",
102 h.getCapacity(), 102 h.getCapacity(),
103 h.getSize(), 103 h.getSize(),
104 h.getLoad() 104 h.getLoad()