:: commit 62045e00900b43f758a608ab909fce16cceb6896

Mintsuki <mintsuki@protonmail.com> — 2025-12-27 21:52

parents: 18fb572dd2

lib/term: Fix up flanterm_fb_init() call with size_t versions of ext_mem_alloc/pmm_free

diff --git a/common/lib/term.c b/common/lib/term.c
index 106ecba4..117303a1 100644
--- a/common/lib/term.c
+++ b/common/lib/term.c
@@ -283,7 +283,7 @@ void term_fallback(void) {
             goto fail;
         }
 
-        terms[0] = flanterm_fb_init(ext_mem_alloc, pmm_free,
+        terms[0] = flanterm_fb_init(ext_mem_alloc_size_t, pmm_free_size_t,
             (void *)(uintptr_t)fb_fbs[0].framebuffer_addr, fb_fbs[0].framebuffer_width,
             fb_fbs[0].framebuffer_height, fb_fbs[0].framebuffer_pitch,
             fb_fbs[0].red_mask_size, fb_fbs[0].red_mask_shift,
tab: 248 wrap: offon