mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-28 16:17:31 +01:00
usb: mass-storage: Build warning fixes for 64-bit
Fix a printf format mismatch warning seen on 64-bit builds. Cc: Łukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de> Signed-off-by: Thierry Reding <treding@nvidia.com> Acked-by: Lukasz Majewski <l.majewski@samsung.com> Tested-by: Lukasz Majewski <l.majewski@samsung.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
This commit is contained in:
parent
96df9c7e94
commit
ec5e78cf8a
1 changed files with 1 additions and 1 deletions
|
|
@ -973,7 +973,7 @@ static int do_write(struct fsg_common *common)
|
|||
|
||||
/* If an error occurred, report it and its position */
|
||||
if (nwritten < amount) {
|
||||
printf("nwritten:%d amount:%d\n", nwritten,
|
||||
printf("nwritten:%zd amount:%u\n", nwritten,
|
||||
amount);
|
||||
curlun->sense_data = SS_WRITE_ERROR;
|
||||
curlun->info_valid = 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue