Be explicit in the since_mark length typecast

This commit is contained in:
Nigel Tao committed 2018-05-02 17:10:10 +10:00
1 parent 394e846061
commit af403d94bf
5 files changed
+53 -53

No files matched your search

+9 -8
View File
@@ -2250,15 +2250,16 @@ wuffs_gzip__status wuffs_gzip__decoder__decode(wuffs_gzip__decoder* self,
&self->private_impl.f_checksum,
((wuffs_base__slice_u8){
.ptr = a_dst.private_impl.bounds[0],
.len = b_wptr_dst - a_dst.private_impl.bounds[0],
.len = (size_t)(b_wptr_dst - a_dst.private_impl.bounds[0]),
}));
v_decoded_length_got += ((uint32_t)(
(((uint64_t)(((wuffs_base__slice_u8){
.ptr = a_dst.private_impl.bounds[0],
.len = b_wptr_dst - a_dst.private_impl.bounds[0],
})
.len)) &
4294967295)));
v_decoded_length_got += ((uint32_t)((
((uint64_t)(
((wuffs_base__slice_u8){
.ptr = a_dst.private_impl.bounds[0],
.len = (size_t)(b_wptr_dst - a_dst.private_impl.bounds[0]),
})
.len)) &
4294967295)));
}
if (v_z == 0) {
goto label_2_break;