diff options
author | Marek Olšák <[email protected]> | 2015-02-20 20:17:20 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-02-21 00:16:35 +0100 |
commit | 41f49a2fd422f698c2edaf71c016f38a925d02fd (patch) | |
tree | 051bc2519eeb7303932b607070a05c5357823bd4 /src | |
parent | 1a44566132e9ba9bae39cac24887c83ef6d0787d (diff) |
gallium/sw/kms: fix a type-mismatch warning
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c b/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c index 781818acbd0..ce3de783288 100644 --- a/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c +++ b/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c @@ -313,7 +313,7 @@ kms_sw_displaytarget_get_handle(struct sw_winsys *winsys, return TRUE; case DRM_API_HANDLE_TYPE_FD: if (!drmPrimeHandleToFD(kms_sw->fd, kms_sw_dt->handle, - DRM_CLOEXEC, &whandle->handle)) { + DRM_CLOEXEC, (int*)&whandle->handle)) { whandle->stride = kms_sw_dt->stride; return TRUE; } |