mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
dm: fdtdec: Correct a sandbox build warning
Adjust the cast to avoid a warning when stdint.h is used. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user