debugging" vector" and added regression test
[rrq/rrqmisc.git] / tests / example-hashvector.c
index 63c55822fd8e4dca846a6e2da54ac81d8466cdb1..7bd57a5f53a3018aa7a101b501553d64db30919b 100644 (file)
@@ -54,7 +54,7 @@ int main(int argc,char **argv) {
     }
     for ( i = 256; i < 260; i++ ) {
        vector_index index = i;
-       void ** slot = vector_next_used( &hv.table, &index, 0, 0 );
+       void ** slot = vector_next_used( &hv.table, &index );
        if ( slot && *slot != HV_HOLE ) {
            hashvector_delete( &hv, *slot );
        }