diff options
author | Adam Jackson <ajax@redhat.com> | 2010-10-19 11:59:21 -0400 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2010-12-31 12:36:44 +0000 |
commit | 67e0bcba4307de5a330e027f4504c9aed4987e5a (patch) | |
tree | 1b0ac455992cf68c0e89a0d76dd5e4b6ea463625 | |
parent | a298d044f965e5ba91f178c6b599c1df26a958ba (diff) |
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>
-rw-r--r-- | hw/xfree86/dri/dri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c index 1d83630a5..3c64ae443 100644 --- a/hw/xfree86/dri/dri.c +++ b/hw/xfree86/dri/dri.c @@ -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, |