X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=tests%2Fexample-hashvector.c;h=7bd57a5f53a3018aa7a101b501553d64db30919b;hb=a0be49ff8fda77c328424c09d6d0ad4a9f7e8f66;hp=63c55822fd8e4dca846a6e2da54ac81d8466cdb1;hpb=5366100e4a804acc9f9c36b30b8da091483d8050;p=rrq%2Frrqmisc.git diff --git a/tests/example-hashvector.c b/tests/example-hashvector.c index 63c5582..7bd57a5 100644 --- a/tests/example-hashvector.c +++ b/tests/example-hashvector.c @@ -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 ); }