summaryrefslogtreecommitdiff
path: root/src/smi_driver.c
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2011-02-27 15:52:33 +0100
committerJulien Cristau <jcristau@debian.org>2011-02-27 15:53:11 +0100
commit312540ac447acaf80db7e341aa75f90f3e821438 (patch)
tree0b19c1ce20b649c8697543e435ab75575326c001 /src/smi_driver.c
parent6008906f0e328180b17e7b604b97dfdfd4280508 (diff)
Fix compiler warning on 64bit
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 <jcristau@debian.org>
Diffstat (limited to 'src/smi_driver.c')
-rw-r--r--src/smi_driver.c2
1 files changed, 1 insertions, 1 deletions
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);