mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 03:15:00 +00:00
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:
parent
7aa6906dda
commit
722073a065
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue