diff options
Diffstat (limited to '')
-rw-r--r-- | src/tests/hashtest.cpp | 6 |
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() |