dri1: warning fix
dri.c: In function ‘DRIScreenInit’: dri.c:434: warning: cast from pointer to integer of different size Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
a298d044f9
commit
67e0bcba43
|
@ -431,7 +431,7 @@ DRIScreenInit(ScreenPtr pScreen, DRIInfoPtr pDRIInfo, int *pDRMFD)
|
||||||
if (!pDRIPriv->pDriverInfo->dontMapFrameBuffer)
|
if (!pDRIPriv->pDriverInfo->dontMapFrameBuffer)
|
||||||
{
|
{
|
||||||
if (drmAddMap( pDRIPriv->drmFD,
|
if (drmAddMap( pDRIPriv->drmFD,
|
||||||
(drm_handle_t)pDRIPriv->pDriverInfo->frameBufferPhysicalAddress,
|
(uintptr_t)pDRIPriv->pDriverInfo->frameBufferPhysicalAddress,
|
||||||
pDRIPriv->pDriverInfo->frameBufferSize,
|
pDRIPriv->pDriverInfo->frameBufferSize,
|
||||||
DRM_FRAME_BUFFER,
|
DRM_FRAME_BUFFER,
|
||||||
0,
|
0,
|
||||||
|
|
Loading…
Reference in New Issue