mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 17:52:07 +02:00
bootstage: Correct printf types
The unstash code is a bit loose with its printf() types, which gives warnings on sandbox. Correct this. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -445,9 +445,9 @@ int bootstage_unstash(void *base, int size)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (hdr->count * sizeof(*rec) > hdr->size) {
|
if (hdr->count * sizeof(*rec) > hdr->size) {
|
||||||
debug("%s: Bootstage has %d records needing %d bytes, but "
|
debug("%s: Bootstage has %d records needing %lu bytes, but "
|
||||||
"only %d bytes is available\n", __func__, hdr->count,
|
"only %d bytes is available\n", __func__, hdr->count,
|
||||||
hdr->count * sizeof(*rec), hdr->size);
|
(ulong)hdr->count * sizeof(*rec), hdr->size);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user