summaryrefslogtreecommitdiff
path: root/src/radeon_dri.c
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-06-19 14:37:01 +0200
committerMichel Dänzer <michel@daenzer.net>2009-06-19 14:37:01 +0200
commit496adc4dc7cf53fc6acfecb1158f1491d5f36168 (patch)
treed4cd85f4ddf4860908e86b7deb9b53ac35fead79 /src/radeon_dri.c
parentab20ea1530ec8a3a9fd4089775c4e157e50fe1bf (diff)
Revert "Build fixes for -Werror that aren't ready for prime time yet."
This reverts commit ab20ea1530ec8a3a9fd4089775c4e157e50fe1bf. Whoops, pushed wrong branch...
Diffstat (limited to 'src/radeon_dri.c')
-rw-r--r--src/radeon_dri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c
index cfa5f588..19f7abec 100644
--- a/src/radeon_dri.c
+++ b/src/radeon_dri.c
@@ -1578,7 +1578,7 @@ Bool RADEONDRIScreenInit(ScreenPtr pScreen)
pDRIInfo->ddxDriverMajorVersion = info->allowColorTiling ? 5 : 4;
pDRIInfo->ddxDriverMinorVersion = 3;
pDRIInfo->ddxDriverPatchVersion = 0;
- pDRIInfo->frameBufferPhysicalAddress = (void *)(unsigned long)info->LinearAddr + info->dri->frontOffset;
+ pDRIInfo->frameBufferPhysicalAddress = (void *)info->LinearAddr + info->dri->frontOffset;
pDRIInfo->frameBufferSize = info->FbMapSize - info->FbSecureSize;
pDRIInfo->frameBufferStride = (pScrn->displayWidth *
info->CurrentLayout.pixel_bytes);