diff options
author | David Robillard <d@drobilla.net> | 2019-10-18 17:06:14 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-10-18 17:07:56 +0200 |
commit | 85512457fbe29aa161417903feaec74f5e7c15c5 (patch) | |
tree | 03b69a649635b8533db8aacf2931907e5ac6b1a3 /zix/bitset.c | |
parent | ced30ed4b498c34b9aaf69bdcae12f3cedb43af8 (diff) | |
download | zix-85512457fbe29aa161417903feaec74f5e7c15c5.tar.gz zix-85512457fbe29aa161417903feaec74f5e7c15c5.tar.bz2 zix-85512457fbe29aa161417903feaec74f5e7c15c5.zip |
Fix some integer conversion warnings
Diffstat (limited to 'zix/bitset.c')
-rw-r--r-- | zix/bitset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zix/bitset.c b/zix/bitset.c index e5f8348..2f551b2 100644 --- a/zix/bitset.c +++ b/zix/bitset.c @@ -103,7 +103,7 @@ zix_bitset_count_up_to_if(const ZixBitset* b, const ZixBitsetTally* t, size_t i) if (extra) { const ZixBitset mask = ~(~(ZixBitset)0 << extra); - count += __builtin_popcountl(b[full_elems] & mask); + count += (size_t)__builtin_popcountl(b[full_elems] & mask); } return count; |