mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 00:47:56 +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
+2
-2
@@ -478,7 +478,7 @@ puffs_gif_status puffs_gif_decoder_decode_extension(puffs_gif_decoder* self,
|
||||
return status;
|
||||
}
|
||||
uint8_t t_1 = a_src.buf->ptr[a_src.buf->ri++];
|
||||
v_block_size = ((uint32_t)(t_1));
|
||||
v_block_size = t_1;
|
||||
if (v_block_size == 0) {
|
||||
goto label_0_break;
|
||||
}
|
||||
@@ -546,7 +546,7 @@ puffs_gif_status puffs_gif_decoder_decode_id(puffs_gif_decoder* self,
|
||||
return status;
|
||||
}
|
||||
uint8_t t_2 = a_src.buf->ptr[a_src.buf->ri++];
|
||||
v_block_size = ((uint32_t)(t_2));
|
||||
v_block_size = t_2;
|
||||
if (v_block_size == 0) {
|
||||
goto label_0_break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user