diff options
Diffstat (limited to 'src/zix/btree.c')
-rw-r--r-- | src/zix/btree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zix/btree.c b/src/zix/btree.c index ffc097ab..ec64775c 100644 --- a/src/zix/btree.c +++ b/src/zix/btree.c @@ -270,8 +270,8 @@ zix_btree_node_find(const ZixBTree* const t, assert(zix_btree_node_is_sorted_with_respect_to(t, n, e)); #endif - uint16_t first = 0; - uint16_t len = n->n_vals; + unsigned first = 0; + unsigned len = n->n_vals; while (len > 0) { const unsigned half = len >> 1U; const unsigned i = first + half; |