lib/bloom: Fix a -Wconversion warning in OstreeBloom
authorPhilip Withnall <withnall@endlessm.com>
Sat, 30 Sep 2017 23:13:17 +0000 (00:13 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Sun, 1 Oct 2017 12:24:46 +0000 (12:24 +0000)
commit1f666eb07dfc994e1459d4c07b54bc857b961f49
tree7895097b03df0b9f43b33da0211ce44836e090c3
parent1673601510da20b132bcc3fd17d6e0cc9bf837dd
lib/bloom: Fix a -Wconversion warning in OstreeBloom

Compiling with -Wconversion warns on this line, as the conversion from
guint64 to guint8 is implicit (but safe: there is no bug here, since the
implicit cast is applied after the modulus arithmetic).

Make the cast explicit to silence -Wconversion.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #1231
Approved by: cgwalters
src/libostree/ostree-bloom.c