mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 08:47:28 +01:00
Type check "var x T0 = y as T1".
This commit is contained in:
1 parent
497a8776c2
commit
f857d777ee
3 files changed
+14
-5
No files matched your search
@@ -105,7 +105,7 @@ pri func decoder.decode_extension?(src reader1)() {
|
||||
|
||||
// Skip the data blocks.
|
||||
while true {
|
||||
var block_size u8 = in.src.read_u8?() as u32
|
||||
var block_size u8 = in.src.read_u8?()
|
||||
if block_size == 0 {
|
||||
break
|
||||
}
|
||||
@@ -145,7 +145,7 @@ pri func decoder.decode_id?(src reader1)() {
|
||||
|
||||
// TODO: pass the data blocks' payload to this.lzw.
|
||||
while true {
|
||||
var block_size u8 = in.src.read_u8?() as u32
|
||||
var block_size u8 = in.src.read_u8?()
|
||||
if block_size == 0 {
|
||||
break
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user