diff options
author | cchoux <chou.cosmo@gmail.com> | 2023-04-22 15:31:15 +0800 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-24 09:01:37 +0200 |
commit | a2f6201c501035ec02634b2fa7d261b003ec26bb (patch) | |
tree | 6c917b03d8719c2f5b0291f358012541fc6fcc2c /ubi-utils/ubihealthd.c | |
parent | a61e2d93c7cbfe3d9311349ad789b9e4e9a16105 (diff) |
misc-utils: flashcp: correct casting for percent display
Add correct casting for written to prevent overflow that size_t is
only 32 bits on a 32-bit platform.
Signed-off-by: cchoux <chou.cosmo@gmail.com>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubi-utils/ubihealthd.c')
0 files changed, 0 insertions, 0 deletions