diff options
author | David Robillard <d@drobilla.net> | 2019-03-18 14:33:48 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:48:23 +0200 |
commit | e75d53733b9e016f1fe92d961daa40f74de933e9 (patch) | |
tree | 3afadb126e055cb5a6db3bb31b8bb98ead4393f4 /src/zix | |
parent | 4f16af4faa36f47a7efba65a871a8fe22459bf5e (diff) | |
download | serd-e75d53733b9e016f1fe92d961daa40f74de933e9.tar.gz serd-e75d53733b9e016f1fe92d961daa40f74de933e9.tar.bz2 serd-e75d53733b9e016f1fe92d961daa40f74de933e9.zip |
Fix integer conversion warnings
Diffstat (limited to 'src/zix')
-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; |