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:
97276a9
)
cmd: bmp: Make integer-to-pointer cast platform, independent
author
Adam Heinrich
<
[email protected]
>
Mon, 31 Dec 2018 11:11:08 +0000
(12:11 +0100)
committer
Matthias Brugger
<
[email protected]
>
Fri, 15 Feb 2019 11:48:02 +0000
(12:48 +0100)
This patch fixes the int-to-pointer-cast warning on aarch64.
Signed-off-by: Adam Heinrich <
[email protected]
>
Signed-off-by: Alexander Graf <
[email protected]
>
Signed-off-by: Matthias Brugger <
[email protected]
>
cmd/bmp.c
patch
|
blob
|
history
diff --git
a/cmd/bmp.c
b/cmd/bmp.c
index b8af784590dd58adb463b143b88acff98b1f6820..00f0256a30e257b7a50028642c9051e85b79de19 100644
(file)
--- a/
cmd/bmp.c
+++ b/
cmd/bmp.c
@@
-57,7
+57,7
@@
struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp,
bmp = dst;
/* align to 32-bit-aligned-address + 2 */
- bmp = (struct bmp_image *)((((u
nsigned in
t)dst + 1) & ~3) + 2);
+ bmp = (struct bmp_image *)((((u
intptr_
t)dst + 1) & ~3) + 2);
if (gunzip(bmp, CONFIG_SYS_VIDEO_LOGO_MAX_SIZE, map_sysmem(addr, 0),
&len) != 0) {