zynq: fix print format warning in screeninit()
This commit is contained in:
parent
e8760ba636
commit
8ac5227a36
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ screeninit(void)
|
||||||
uchar *fb;
|
uchar *fb;
|
||||||
|
|
||||||
fb = xspanalloc(Dx(xgscreen.r) * Dy(xgscreen.r) * 3, 64, 0);
|
fb = xspanalloc(Dx(xgscreen.r) * Dy(xgscreen.r) * 3, 64, 0);
|
||||||
print("%x\n", PADDR(fb));
|
print("%p\n", PADDR(fb));
|
||||||
memsetchan(&xgscreen, BGR24);
|
memsetchan(&xgscreen, BGR24);
|
||||||
conf.monitor = 1;
|
conf.monitor = 1;
|
||||||
xgdata.bdata = fb;
|
xgdata.bdata = fb;
|
||||||
|
|
Loading…
Reference in a new issue