X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=pvector%2Fpvector.c;h=3179376bc553a22a685eb202fb300bfcb3f52c83;hb=49912b2bb9fca7e0608e52ead72efdb14923b843;hp=d7445561a9eb5aa5dce8ec900add566c09661b68;hpb=7b0f9cab44386d4b25ebf1331704f656c09fe0e4;p=rrq%2Frrqmisc.git diff --git a/pvector/pvector.c b/pvector/pvector.c index d744556..3179376 100644 --- a/pvector/pvector.c +++ b/pvector/pvector.c @@ -16,7 +16,7 @@ * pointer to the used slot, if any, and 0 otherwise. */ static void **pvector_level_next_used( - pvector_page *page,unsigned long *index,int level,int end) { + pvector_page *page,unsigned long *index,int level,unsigned long end) { void **p = (void**)&(*page)[ ((pvector_index*)index)->level[ level ] ]; for( ; *index < end; p++ ) { if ( *p ) {