mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
Be explicit in the since_mark length typecast
This commit is contained in:
1 parent
394e846061
commit
af403d94bf
5 files changed
+53
-53
No files matched your search
+6
-5
@@ -3181,11 +3181,12 @@ static wuffs_gif__status wuffs_gif__decoder__decode_id(
|
||||
}
|
||||
wuffs_base__u64__sat_sub_indirect(
|
||||
&v_block_size,
|
||||
((uint64_t)(((wuffs_base__slice_u8){
|
||||
.ptr = a_src.private_impl.bounds[0],
|
||||
.len = b_rptr_src - a_src.private_impl.bounds[0],
|
||||
})
|
||||
.len)));
|
||||
((uint64_t)(
|
||||
((wuffs_base__slice_u8){
|
||||
.ptr = a_src.private_impl.bounds[0],
|
||||
.len = (size_t)(b_rptr_src - a_src.private_impl.bounds[0]),
|
||||
})
|
||||
.len)));
|
||||
if ((v_block_size == 0) && (v_z == WUFFS_GIF__SUSPENSION_SHORT_READ)) {
|
||||
goto label_1_break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user