summaryrefslogtreecommitdiff
path: root/src/mga_dri.c
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-07-25 22:03:22 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2006-07-25 22:03:22 +0200
commit80bf41170af91b62b9950a5cf7baf3c364a8f539 (patch)
tree103d263dda73b5f5b7259ea09b69d946aed73bc8 /src/mga_dri.c
parent78c12368fa1c1985f41ce856ff453a967429870a (diff)
Fixed some warnings
Diffstat (limited to 'src/mga_dri.c')
-rw-r--r--src/mga_dri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_dri.c b/src/mga_dri.c
index c675a63..a43ebe4 100644
--- a/src/mga_dri.c
+++ b/src/mga_dri.c
@@ -1025,7 +1025,7 @@ Bool MGADRIScreenInit( ScreenPtr pScreen )
pDRIInfo->ddxDriverMajorVersion = MGA_MAJOR_VERSION;
pDRIInfo->ddxDriverMinorVersion = MGA_MINOR_VERSION;
pDRIInfo->ddxDriverPatchVersion = MGA_PATCHLEVEL;
- pDRIInfo->frameBufferPhysicalAddress = pMga->FbAddress;
+ pDRIInfo->frameBufferPhysicalAddress = (void *) pMga->FbAddress;
pDRIInfo->frameBufferSize = pMga->FbMapSize;
pDRIInfo->frameBufferStride = pScrn->displayWidth*(pScrn->bitsPerPixel/8);
pDRIInfo->ddxDrawableTableEntry = MGA_MAX_DRAWABLES;