提交 5d3bd345 编写于 作者: S Simon Glass 提交者: Tom Rini

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: NSimon Glass <sjg@chromium.org>
上级 aec36cfd
......@@ -445,9 +445,9 @@ int bootstage_unstash(void *base, int 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,
hdr->count * sizeof(*rec), hdr->size);
(ulong)hdr->count * sizeof(*rec), hdr->size);
return -1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册