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

Fix compile warning with !CONFIG_FDT_64BIT by
casting the variable in the debug print.

Signed-off-by: Eva Kurchatova <lek...@at.encryp.ch>
Reported-by: Leo Yu-Chi Liang <ycli...@andestech.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 cb518b149c..55996c8560 100644
--- a/drivers/video/simplefb.c
+++ b/drivers/video/simplefb.c
@@ -27,7 +27,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.34.1

Reply via email to