summaryrefslogtreecommitdiff
path: root/tests/ubi-tests/helpers.h
diff options
context:
space:
mode:
authorcchoux <chou.cosmo@gmail.com>2023-04-22 15:31:15 +0800
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-04-24 09:01:37 +0200
commita2f6201c501035ec02634b2fa7d261b003ec26bb (patch)
tree6c917b03d8719c2f5b0291f358012541fc6fcc2c /tests/ubi-tests/helpers.h
parenta61e2d93c7cbfe3d9311349ad789b9e4e9a16105 (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 'tests/ubi-tests/helpers.h')
0 files changed, 0 insertions, 0 deletions