summaryrefslogtreecommitdiff
path: root/common/malloc_simple.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-02-11 12:02:31 -0500
committerTom Rini <trini@konsulko.com>2022-02-11 12:02:31 -0500
commitdd1c255cbc6d3bdf3211a7c9d8fd36e7696e39bb (patch)
tree5886f2d3c62f227f62cb4c67ac30a8f8ed9712f8 /common/malloc_simple.c
parent86752b2814091bd8df30bdbf38768924b60cccab (diff)
parent73cde90c8badbeba32524c2708d26fea805fba1e (diff)
Merge branch '2022-02-11-assorted-updates-and-fixes'
A partial list: - fw_env updates, a new testcase for mkimage -o ..., nop-phy reset-gpios support, DFU updates, kaslr-seed support in extlinux.conf, modern "partitions" support in mtd device tree
Diffstat (limited to 'common/malloc_simple.c')
-rw-r--r--common/malloc_simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/malloc_simple.c b/common/malloc_simple.c
index 0267fb6bec8..67ee623850e 100644
--- a/common/malloc_simple.c
+++ b/common/malloc_simple.c
@@ -23,7 +23,7 @@ static void *alloc_simple(size_t bytes, int align)
addr = ALIGN(gd->malloc_base + gd->malloc_ptr, align);
new_ptr = addr + bytes - gd->malloc_base;
- log_debug("size=%zx, ptr=%lx, limit=%lx: ", bytes, new_ptr,
+ log_debug("size=%lx, ptr=%lx, limit=%lx: ", (ulong)bytes, new_ptr,
gd->malloc_limit);
if (new_ptr > gd->malloc_limit) {
log_err("alloc space exhausted\n");