diff options
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_screen.c')
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_screen.c b/src/gallium/drivers/nouveau/nouveau_screen.c index f742a9483b1..19892b17c6c 100644 --- a/src/gallium/drivers/nouveau/nouveau_screen.c +++ b/src/gallium/drivers/nouveau/nouveau_screen.c @@ -123,7 +123,7 @@ nouveau_screen_bo_get_handle(struct pipe_screen *pscreen, whandle->handle = bo->handle; return TRUE; } else if (whandle->type == DRM_API_HANDLE_TYPE_FD) { - return nouveau_bo_set_prime(bo, &whandle->handle) == 0; + return nouveau_bo_set_prime(bo, (int *)&whandle->handle) == 0; } else { return FALSE; } |