aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libressl
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2019-07-19 23:04:23 +0200
committerPetr Štetiar <ynezz@true.cz>2019-07-19 23:04:23 +0200
commitff7909f69ef8f178501797ea9599a0add3f2cbd5 (patch)
tree1c1ff06f02032219caf54be33479ad1fece73668 /tools/libressl
parent04cb651376f94388a5a7c2c9a983553f8b909824 (diff)
downloadupstream-ff7909f69ef8f178501797ea9599a0add3f2cbd5.tar.gz
upstream-ff7909f69ef8f178501797ea9599a0add3f2cbd5.tar.bz2
upstream-ff7909f69ef8f178501797ea9599a0add3f2cbd5.zip
firmware-utils: mkfwimage: fix build failure on macOS with gcc 9
Fixes following errors: src/mkfwimage.c:279:8: error: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Werror,-Wformat] d->stats.st_size, ^~~~~~~~~~~~~~~~ src/mkfwimage.c:280:8: error: format specifies type 'long' but the argument has type 'long long' [-Werror,-Wformat] d->partition_length - d->stats.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mkfwimage.c:378:6: error: format specifies type 'unsigned long' but the argument has type 'long long' [-Werror,-Wformat] d->stats.st_size - d->partition_length); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Reported-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'tools/libressl')
0 files changed, 0 insertions, 0 deletions