summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-05 18:56:25 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-05 18:56:25 -0800
commit55a72385a443d7107aa378651c4a5631fe837da6 (patch)
tree24f8a02e4b45cf1e2b051477f87360b9c029041d
parent2352780cd7a19bc9562b33676d2598e522e37def (diff)
Handle a -Wformat warning
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/ast_accel.c2
1 files changed, 1 insertions, 1 deletions
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)
{