mips: bootm: Cast elf entry into unsigned long
Since elf entry type is now a u64 to accomodate both type of elf files
(64 and 32 bits), we need to cast it to the pointer length before
casting it to the pointer type.

Signed-off-by: Clement Leger <cleger@kalray.eu>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 0ca284b commit aa329e50ac45ecdcd73973b5a5e27f9eaf3a7fb3
@Clement Leger Clement Leger authored on 4 Sep 2019
Sascha Hauer committed on 6 Sep 2019
Showing 1 changed file
View
arch/mips/lib/bootm.c