mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
committed by
Daniel Stone
parent
a298d044f9
commit
67e0bcba43
@@ -431,7 +431,7 @@ DRIScreenInit(ScreenPtr pScreen, DRIInfoPtr pDRIInfo, int *pDRMFD)
|
||||
if (!pDRIPriv->pDriverInfo->dontMapFrameBuffer)
|
||||
{
|
||||
if (drmAddMap( pDRIPriv->drmFD,
|
||||
(drm_handle_t)pDRIPriv->pDriverInfo->frameBufferPhysicalAddress,
|
||||
(uintptr_t)pDRIPriv->pDriverInfo->frameBufferPhysicalAddress,
|
||||
pDRIPriv->pDriverInfo->frameBufferSize,
|
||||
DRM_FRAME_BUFFER,
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user