summaryrefslogtreecommitdiffstats
path: root/arch/mips/boot/main_entry.c
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2019-06-13 15:42:55 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2019-06-17 09:07:05 +0200
commitba9013e811faf116aec4e4fef9dc06b189ff25ef (patch)
treeb5ed100ea10221f36ef90af313fda39c2b374e5f /arch/mips/boot/main_entry.c
parentafa8665f9f1a5666c63db762fcad53e7425126ef (diff)
downloadbarebox-ba9013e811faf116aec4e4fef9dc06b189ff25ef.tar.gz
barebox-ba9013e811faf116aec4e4fef9dc06b189ff25ef.tar.xz
MIPS: fix 'assignment makes integer from pointer without a cast' warning
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/boot/main_entry.c')
-rw-r--r--arch/mips/boot/main_entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/boot/main_entry.c b/arch/mips/boot/main_entry.c
index 5b88730b07..4ae4457e7e 100644
--- a/arch/mips/boot/main_entry.c
+++ b/arch/mips/boot/main_entry.c
@@ -85,7 +85,7 @@ void __bare_init main_entry(void *fdt, u32 fdt_size)
trap_init();
- malloc_end = _stext;
+ malloc_end = (unsigned long)_stext;
if (MALLOC_SIZE > 0)
malloc_start = malloc_end - MALLOC_SIZE;