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 <lekkit@at.encryp.ch>
Reported-by: Leo Yu-Chi Liang <ycliang@andestech.com>
This commit is contained in:
Eva Kurchatova 2024-10-09 16:48:28 +08:00 committed by Anatolij Gustschin
parent 7aa6906dda
commit 722073a065

View file

@ -27,7 +27,8 @@ static int simple_video_probe(struct udevice *dev)
return -EINVAL; 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 * TODO is there some way to reserve the framebuffer