summaryrefslogtreecommitdiffstats
path: root/commands/splash.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-01-12 00:24:55 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2019-01-16 08:33:34 +0100
commit3d036263a42c2fd89272a68c457d31018a878de5 (patch)
tree222d8243d93847d47a5633e70f46a7b5a7cd3307 /commands/splash.c
parentb77582effd360f15da2a42c2ad3c45f8cbc6dba9 (diff)
downloadbarebox-3d036263a42c2fd89272a68c457d31018a878de5.tar.gz
barebox-3d036263a42c2fd89272a68c457d31018a878de5.tar.xz
commands: digest: Use MAX_LFS_FILESIZE instead of ~0
Loff_t is a signed type, so ~0 is a negative number. While it works OK due to clamping/conversion to ulong when passed to digest_file_window(), it is better not to rely on that fact and use an appropriate constant. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/splash.c')
0 files changed, 0 insertions, 0 deletions