diff options
author | David Robillard <d@drobilla.net> | 2020-08-13 17:25:46 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-13 17:25:46 +0200 |
commit | 15efd87598d434d8ee7dc45af3da70ba5ad6c312 (patch) | |
tree | ef99fc34534e4ccdac23a41c7bf55df46945f676 /zix/trie.c | |
parent | 84addbedee65322625a101f1cf5a97860a26b1ef (diff) | |
download | zix-15efd87598d434d8ee7dc45af3da70ba5ad6c312.tar.gz zix-15efd87598d434d8ee7dc45af3da70ba5ad6c312.tar.bz2 zix-15efd87598d434d8ee7dc45af3da70ba5ad6c312.zip |
Fix Wno-shorten-64-to-32 warnings
Diffstat (limited to 'zix/trie.c')
-rw-r--r-- | zix/trie.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -47,8 +47,8 @@ struct _ZixTrie { }; /** Round `size` up to the next multiple of the word size. */ -ZIX_PRIVATE uint32_t -zix_trie_pad(uint32_t size) +ZIX_PRIVATE n_edges_t +zix_trie_pad(n_edges_t size) { return (size + sizeof(void*) - 1) & (~(sizeof(void*) - 1)); } |