projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8d6165
)
dm: fdtdec: Correct a sandbox build warning
author
Simon Glass
<
[email protected]
>
Mon, 29 Feb 2016 22:25:37 +0000
(15:25 -0700)
committer
Simon Glass
<
[email protected]
>
Mon, 14 Mar 2016 21:34:50 +0000
(15:34 -0600)
Adjust the cast to avoid a warning when stdint.h is used.
Signed-off-by: Simon Glass <
[email protected]
>
Tested-by: Stephen Warren <
[email protected]
>
lib/fdtdec.c
patch
|
blob
|
history
diff --git
a/lib/fdtdec.c
b/lib/fdtdec.c
index b361a2579f107810a848f9f6d5cff5ebe0d73535..0cb255f763ca191a584c3cb3ff8c2db42e464195 100644
(file)
--- a/
lib/fdtdec.c
+++ b/
lib/fdtdec.c
@@
-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", (u
64
)addr);
+ debug("addr=%08llx\n", (u
nsigned long long
)addr);
}
return addr;