mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 01:01:35 +01:00
Fix some -Werror=conversion false positives
This commit is contained in:
1 parent
b77137686d
commit
4d2df86a6d
4 files changed
+55
-55
No files matched your search
@@ -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 ..],
|
||||
|
||||
Reference in new issue
Block a user