ref: 8ac5227a3626dd70a51d2c091b8730ce0f2d8403
parent: e8760ba6360d3ccd75d8ccf8319ff40954b6659c
author: cinap_lenrek <[email protected]>
date: Fri Feb 6 22:24:07 EST 2015
zynq: fix print format warning in screeninit()
--- a/sys/src/9/zynq/screen.c
+++ b/sys/src/9/zynq/screen.c
@@ -81,7 +81,7 @@
uchar *fb;
fb = xspanalloc(Dx(xgscreen.r) * Dy(xgscreen.r) * 3, 64, 0);
- print("%x\n", PADDR(fb));
+ print("%p\n", PADDR(fb));
memsetchan(&xgscreen, BGR24);
conf.monitor = 1;
xgdata.bdata = fb;