From: Eva Kurchatova Date: Wed, 9 Oct 2024 08:48:28 +0000 (+0800) Subject: video: simplefb: Fix build warn with CONFIG_FDT_64BIT=n X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=722073a0653dd18d0148dd435f067be4e82f9129;p=u-boot.git video: simplefb: Fix build warn with CONFIG_FDT_64BIT=n Fix compile warning with !CONFIG_FDT_64BIT by casting the variable in the debug print. Signed-off-by: Eva Kurchatova Reported-by: Leo Yu-Chi Liang --- diff --git a/drivers/video/simplefb.c b/drivers/video/simplefb.c index cb518b149c..239b006744 100644 --- a/drivers/video/simplefb.c +++ b/drivers/video/simplefb.c @@ -27,7 +27,8 @@ 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