Handle a -Wformat warning

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Alan Coopersmith
2024-01-05 18:56:25 -08:00
parent 2352780cd7
commit 55a72385a4

View File

@@ -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)
{