mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 13:44:29 +08:00
misc: fs_loader: Fix compiler warning
Fix compiler warning drivers/misc/fs_loader.c:193:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t {aka long unsigned int}’ [-Wformat=] Signed-off-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
7c096ea4ee
commit
907837d659
@ -190,7 +190,7 @@ static int fw_get_filesystem_firmware(struct device_platdata *plat,
|
||||
fw_priv->offset, firmware->size, &actread);
|
||||
|
||||
if (ret) {
|
||||
debug("Error: %d Failed to read %s from flash %lld != %d.\n",
|
||||
debug("Error: %d Failed to read %s from flash %lld != %zu.\n",
|
||||
ret, fw_priv->name, actread, firmware->size);
|
||||
} else {
|
||||
ret = actread;
|
||||
|
Loading…
Reference in New Issue
Block a user