nouveau/push: Fix a void pointer arithmetic bug
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
committed by
Marge Bot
parent
33ed4b9bc5
commit
9db0c9fb2d
@@ -113,7 +113,7 @@ nouveau_ws_push_space(struct nouveau_ws_push *push,
|
||||
if (!bo)
|
||||
return NULL;
|
||||
|
||||
void *map = nouveau_ws_bo_map(bo, NOUVEAU_WS_BO_RDWR);
|
||||
uint32_t *map = nouveau_ws_bo_map(bo, NOUVEAU_WS_BO_RDWR);
|
||||
if (!map)
|
||||
goto fail_map;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user