Commit 3acd9a9d authored by Bernhard Nortmann's avatar Bernhard Nortmann
Browse files

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


Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
parent 7d59d75e
...@@ -299,7 +299,7 @@ double aw_write_buffer(libusb_device_handle *usb, void *buf, uint32_t offset, ...@@ -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! " fprintf(stderr, "ERROR: Attempt to overwrite U-Boot! "
"Request 0x%08X-0x%08X overlaps 0x%08X-0x%08X.\n", "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); uboot_entry, uboot_entry + uboot_size);
exit(1); exit(1);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment