[PATCH] video: simplefb: Fix build warn with CONFIG_FDT_64BIT=n

lekkit at at.encryp.ch lekkit at at.encryp.ch
Thu Sep 26 11:41:03 CEST 2024


From: LekKit <50500857+LekKit at users.noreply.github.com>

---
 drivers/video/simplefb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/simplefb.c b/drivers/video/simplefb.c
index 33bb78bc..f497bb1b 100644
--- a/drivers/video/simplefb.c
+++ b/drivers/video/simplefb.c
@@ -28,7 +28,7 @@ static int simple_video_probe(struct udevice *dev)
 		return -EINVAL;
 	}
 
-	debug("%s: base=%llx, size=%llu\n", __func__, base, size);
+	debug("%s: base=%llx, size=%llu\n", __func__, (unsigned long long)base, (unsigned long long)size);
 
 	/*
 	 * TODO is there some way to reserve the framebuffer
-- 
2.46.0



More information about the U-Boot mailing list