fel: Fix a possible format/conversion error in aw_write_buffer()

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
This commit is contained in:
Bernhard Nortmann 2016-04-20 09:10:04 +02:00
parent 7d59d75eee
commit 3acd9a9dc0

2
fel.c
View File

@ -299,7 +299,7 @@ double aw_write_buffer(libusb_device_handle *usb, void *buf, uint32_t offset,
{
fprintf(stderr, "ERROR: Attempt to overwrite U-Boot! "
"Request 0x%08X-0x%08X overlaps 0x%08X-0x%08X.\n",
offset, offset + len,
offset, (uint32_t)(offset + len),
uboot_entry, uboot_entry + uboot_size);
exit(1);
}