提交 fd30d2c6 编写于 作者: S Simon Glass

dm: fdtdec: Correct a sandbox build warning

Adjust the cast to avoid a warning when stdint.h is used.
Signed-off-by: NSimon Glass <sjg@chromium.org>
Tested-by: NStephen Warren <swarren@nvidia.com>
上级 f8d6165d
......@@ -123,9 +123,10 @@ fdt_addr_t fdtdec_get_addr_size_fixed(const void *blob, int node,
if (sizep) {
*sizep = fdtdec_get_number(prop_size, ns);
debug("addr=%08llx, size=%llx\n", (u64)addr, (u64)*sizep);
debug("addr=%08llx, size=%llx\n", (unsigned long long)addr,
(unsigned long long)*sizep);
} else {
debug("addr=%08llx\n", (u64)addr);
debug("addr=%08llx\n", (unsigned long long)addr);
}
return addr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册