Commit 09f14ae8 authored by Kevin Brace's avatar Kevin Brace

Remove compilation warnings related to debug messages

The variable sizes were not matching the intended print format.
Signed-off-by: Kevin Brace's avatarKevin Brace <kevinbrace@gmx.com>
parent 951af95a
......@@ -184,8 +184,8 @@ void R128WaitForFifoFunction(ScrnInfoPtr pScrn, int entries)
}
DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"FIFO timed out: %d entries, "
"stat=0x%08x, probe=0x%08x\n",
"FIFO timed out: %lu entries, "
"stat = 0x%08lx, probe = 0x%08lx\n",
INREG(R128_GUI_STAT) & R128_GUI_FIFOCNT_MASK,
INREG(R128_GUI_STAT),
INREG(R128_GUI_PROBE)));
......@@ -221,8 +221,8 @@ void R128WaitForIdle(ScrnInfoPtr pScrn)
}
DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"Idle timed out: %d entries, "
"stat=0x%08x, probe=0x%08x\n",
"Idle timed out: %lu entries, "
"stat = 0x%08lx, probe = 0x%08lx\n",
INREG(R128_GUI_STAT) & R128_GUI_FIFOCNT_MASK,
INREG(R128_GUI_STAT),
INREG(R128_GUI_PROBE)));
......
......@@ -1604,7 +1604,7 @@ Bool R128ScreenInit(SCREEN_INIT_ARGS_DECL)
char *optstr;
DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"R128ScreenInit %x %d\n",
"R128ScreenInit %lx %lx\n",
pScrn->memPhysBase, pScrn->fbOffset));
info->useEXA = FALSE;
#ifdef USE_EXA
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment