mirror of
https://github.com/revyos/th1520-vendor-uboot.git
synced 2026-09-10 19:35:09 +02:00
a9ee7466870cbc97155f19293edda82026aab6b7
If a chunk was larger than 4GiB, then chunk_data_sz would overflow and blkcnt would not be calculated correctly. Upgrade it to a u64 and cast its multiplicands as well. Also fix bytes_written while we're at it. Signed-off-by: Sean Anderson <sean.anderson@seco.com> Reviewed-by: Heiko Schocher <hs@denx.de>
The file is empty.
Description
Languages
C
95.6%
Python
1.9%
Assembly
1%
Makefile
0.6%
Perl
0.4%
Other
0.2%