From 55a72385a443d7107aa378651c4a5631fe837da6 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 5 Jan 2024 18:56:25 -0800 Subject: Handle a -Wformat warning Signed-off-by: Alan Coopersmith --- src/ast_accel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ast_accel.c b/src/ast_accel.c index dc84b6f..701624f 100644 --- a/src/ast_accel.c +++ b/src/ast_accel.c @@ -1706,7 +1706,7 @@ void ASTDisplayVideo(ScrnInfoPtr pScrn, ASTPortPrivPtr pPriv, RegionPtr clipBoxe pBox = REGION_RECTS(clipBoxes); nBoxs = REGION_NUM_RECTS(clipBoxes); - xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "MMIO=%x,pBox=%x, nBoxs=%x\n", pAST->MMIO2D, pBox, nBoxs); + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "MMIO=%x,pBox=%lx, nBoxs=%x\n", pAST->MMIO2D, (uintptr_t) pBox, nBoxs); if(0==pPriv->drw_w || 0==pPriv->drw_h) { -- cgit v1.2.3