iPXE - Open Source Boot Firmware

[zbin] Fix compiler warning with GCC 9
authorMichael Brown <mcb30@ipxe.org>
Mon, 21 Jan 2019 11:17:04 +0000 (11:17 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 21 Jan 2019 11:17:04 +0000 (11:17 +0000)
commit956f6a7227b62ce98d7840439af17bbca04f0c86
tree15fe78dcbbab62dd59da95b9accb50f948de915d
parent3946aa9bac1b4a784924fab1693bfebfdd357438
[zbin] Fix compiler warning with GCC 9

GCC 9 warns that abs() may truncate its signed long argument.  Fix by
using labs() instead.

Reported-by: Martin Li┼íka <mliska@suse.cz>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/util/zbin.c