From 499f154bf12fe15c6aa1740100e4545a71490be1 Mon Sep 17 00:00:00 2001 From: Luca Dariz Date: Tue, 28 Jun 2022 12:10:51 +0200 Subject: fix warnings for 32 bit builds Signed-off-by: Luca Dariz Message-Id: <20220628101054.446126-13-luca@orpolo.org> --- device/cirbuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'device/cirbuf.c') diff --git a/device/cirbuf.c b/device/cirbuf.c index 391297ce..a3c9407a 100644 --- a/device/cirbuf.c +++ b/device/cirbuf.c @@ -51,10 +51,10 @@ void cb_check(struct cirbuf *cb) { if (!(cb->c_cf >= cb->c_start && cb->c_cf < cb->c_end)) - panic("cf %x out of range [%x..%x)", + panic("cf %p out of range [%p..%p)", cb->c_cf, cb->c_start, cb->c_end); if (!(cb->c_cl >= cb->c_start && cb->c_cl < cb->c_end)) - panic("cl %x out of range [%x..%x)", + panic("cl %p out of range [%p..%p)", cb->c_cl, cb->c_start, cb->c_end); if (cb->c_cf <= cb->c_cl) { if (!(cb->c_cc == cb->c_cl - cb->c_cf)) -- cgit v1.2.3