The variable sizes were not matching the intended print format.

Signed-off-by: Kevin Brace <kevinbr...@gmx.com>
---
 src/r128_accel.c  | 8 ++++----
 src/r128_driver.c | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/r128_accel.c b/src/r128_accel.c
index ab04b25..0ad4edc 100644
--- a/src/r128_accel.c
+++ b/src/r128_accel.c
@@ -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)));
diff --git a/src/r128_driver.c b/src/r128_driver.c
index c6d4f8a..4918a0e 100644
--- a/src/r128_driver.c
+++ b/src/r128_driver.c
@@ -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
-- 
2.7.4

_______________________________________________
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati

Reply via email to