summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/global_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 8d1d49b1133..ba6a10cf2ad 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -547,7 +547,7 @@ static_assert(sizeof(struct global_data) == GD_SIZE);
#if CONFIG_VAL(SYS_MALLOC_F_LEN)
#define gd_malloc_ptr() gd->malloc_ptr
#else
-#define gd_malloc_ptr() 0L
+#define gd_malloc_ptr() 0
#endif
#if CONFIG_IS_ENABLED(UPL)