From 312540ac447acaf80db7e341aa75f90f3e821438 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Sun, 27 Feb 2011 15:52:33 +0100 Subject: Fix compiler warning on 64bit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit src/smi_driver.c: In function ‘SMI_MapMem’: src/smi_driver.c:1498: warning: format ‘%08lX’ expects type ‘long unsigned int’, but argument 6 has type ‘CARD32’ Signed-off-by: Julien Cristau --- src/smi_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/smi_driver.c') diff --git a/src/smi_driver.c b/src/smi_driver.c index b736637..093c87d 100644 --- a/src/smi_driver.c +++ b/src/smi_driver.c @@ -1495,7 +1495,7 @@ SMI_MapMem(ScrnInfoPtr pScrn) xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, VERBLEV, "Physical frame buffer at 0x%08lX offset: 0x%08lX\n", - pScrn->memPhysBase, pSmi->fbMapOffset); + pScrn->memPhysBase, (unsigned long)pSmi->fbMapOffset); xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, VERBLEV, "Logical frame buffer at %p - %p\n", pSmi->FBBase, pSmi->FBBase + pSmi->videoRAMBytes - 1); -- cgit v1.2.3