summaryrefslogtreecommitdiff
path: root/src/i830_modes.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2006-04-10 11:26:06 -0700
committerEric Anholt <anholt@FreeBSD.org>2006-04-10 11:26:06 -0700
commit39bdfbb4c23c9ba2a44888f22330a892c4becedc (patch)
tree946aceac17733ad28a20a93ff04ef20eab49e32a /src/i830_modes.c
parent35e4756645891bfc85f25f1ab60c287eba9ef749 (diff)
x86_64 warning fixes
Diffstat (limited to 'src/i830_modes.c')
-rw-r--r--src/i830_modes.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/i830_modes.c b/src/i830_modes.c
index 8938548a..97e40e0a 100644
--- a/src/i830_modes.c
+++ b/src/i830_modes.c
@@ -514,7 +514,7 @@ CheckMode(ScrnInfoPtr pScrn, vbeInfoPtr pVbe, VbeInfoBlock *vbe, int id,
xf86ErrorFVerb(DEBUG_VERB,
" WinBSegment: 0x%x\n", mode->WinBSegment);
xf86ErrorFVerb(DEBUG_VERB,
- " WinFuncPtr: 0x%lx\n", mode->WinFuncPtr);
+ " WinFuncPtr: 0x%lx\n", (unsigned long)mode->WinFuncPtr);
xf86ErrorFVerb(DEBUG_VERB,
" BytesPerScanline: %d\n", mode->BytesPerScanline);
xf86ErrorFVerb(DEBUG_VERB,
@@ -557,7 +557,8 @@ CheckMode(ScrnInfoPtr pScrn, vbeInfoPtr pVbe, VbeInfoBlock *vbe, int id,
" DirectColorModeInfo: %d\n", mode->DirectColorModeInfo);
if (major >= 2) {
xf86ErrorFVerb(DEBUG_VERB,
- " PhysBasePtr: 0x%lx\n", mode->PhysBasePtr);
+ " PhysBasePtr: 0x%lx\n",
+ (unsigned long)mode->PhysBasePtr);
if (major >= 3) {
xf86ErrorFVerb(DEBUG_VERB,
" LinBytesPerScanLine: %d\n", mode->LinBytesPerScanLine);
@@ -582,7 +583,8 @@ CheckMode(ScrnInfoPtr pScrn, vbeInfoPtr pVbe, VbeInfoBlock *vbe, int id,
xf86ErrorFVerb(DEBUG_VERB,
" LinRsvdFieldPosition: %d\n", mode->LinRsvdFieldPosition);
xf86ErrorFVerb(DEBUG_VERB,
- " MaxPixelClock: %ld\n", mode->MaxPixelClock);
+ " MaxPixelClock: %ld\n", (unsigned long)
+ mode->MaxPixelClock);
}
}