]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: eth: asix: Build warning fixes for 64-bit
authorThierry Reding <treding@nvidia.com>
Fri, 20 Mar 2015 11:41:23 +0000 (12:41 +0100)
committerMarek Vasut <marex@denx.de>
Tue, 14 Apr 2015 03:47:47 +0000 (05:47 +0200)
Fix a type mismatch in a printf format string.

Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/usb/eth/asix.c

index 11811094ede8a9381af75bfc4fb0d0f12f6debaa..1cd179baaea7a859443d4ba31db9eecef5e323ba 100644 (file)
@@ -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;