projects
/
rrq
/
rrqmisc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b0f9ca
)
use "unsigned long" for indexing
author
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Tue, 21 Jun 2022 03:20:53 +0000
(13:20 +1000)
committer
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Tue, 21 Jun 2022 03:20:53 +0000
(13:20 +1000)
pvector/pvector.c
patch
|
blob
|
history
diff --git
a/pvector/pvector.c
b/pvector/pvector.c
index d7445561a9eb5aa5dce8ec900add566c09661b68..3179376bc553a22a685eb202fb300bfcb3f52c83 100644
(file)
--- 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 ) {