Fix some -Werror=conversion false positives

This commit is contained in:
Nigel Tao committed 2021-02-16 22:45:50 +11:00
1 parent b77137686d
commit 4d2df86a6d
4 files changed
+55 -55

No files matched your search

+2 -2
View File
@@ -150,8 +150,8 @@ pri func decoder.filter_and_swizzle_tricky!(dst: ptr base.pixel_buffer, workbuf:
s = s[1 ..]
}
bits_unpacked[0] = (bits_packed >> shift) ~mod* multiplier
bits_packed ~mod<<= this.depth
packs_remaining ~mod-= 1
bits_packed = bits_packed ~mod<< this.depth
packs_remaining = packs_remaining ~mod- 1
this.swizzler.swizzle_interleaved_from_slice!(
dst: dst[i ..],