diff options
author | Thierry Reding <treding@nvidia.com> | 2015-03-20 11:41:23 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-04-14 03:47:47 (GMT) |
commit | 4c5998b77af081d4075a1fb8f19446a699949660 (patch) | |
tree | 9e66173174aed319a7cff8cfa7e6e8ace2854ade /drivers/usb/eth/asix.c | |
parent | cd749658d5994978579628a6333e5c2a6c8ec632 (diff) | |
download | u-boot-4c5998b77af081d4075a1fb8f19446a699949660.tar.xz |
usb: eth: asix: Build warning fixes for 64-bit
Fix a type mismatch in a printf format string.
Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/usb/eth/asix.c')
-rw-r--r-- | drivers/usb/eth/asix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c index 1181109..1cd179b 100644 --- a/drivers/usb/eth/asix.c +++ b/drivers/usb/eth/asix.c @@ -475,7 +475,7 @@ static int asix_send(struct eth_device *eth, void *packet, int length) length + sizeof(packet_len), &actual_len, USB_BULK_SEND_TIMEOUT); - debug("Tx: len = %u, actual = %u, err = %d\n", + debug("Tx: len = %zu, actual = %u, err = %d\n", length + sizeof(packet_len), actual_len, err); return err; |