wsi: Fixes passing argument 1 of ‘mtx_unlock’ from incompatible pointer type
authorYonggang Luo <luoyonggang@gmail.com>
Sat, 11 Feb 2023 07:35:19 +0000 (15:35 +0800)
committerMarge Bot <emma+marge@anholt.net>
Tue, 20 Jun 2023 00:05:48 +0000 (00:05 +0000)
commit785ca1332319219828c4d76d032f31345c41e48c
tree236e31b99fc643df45ce4e4ae5cd0af7292b3b75
parent2e4f874fa5bcb68d4520cba8e87e8f420085ff11
wsi: Fixes passing argument 1 of ‘mtx_unlock’ from incompatible pointer type

../../src/vulkan/wsi/wsi_common_display.c:2908:15: error: passing argument 1 of ‘mtx_unlock’ from incompatible pointer type [-Werror=incompatible-pointer-types]
 2908 |    mtx_unlock(&wsi->wait_mutex);
      |               ^~~~~~~~~~~~~~~~
      |               |
      |               pthread_mutex_t *

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23733>
src/vulkan/wsi/wsi_common_display.c