diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c index bb6adeb0534..fcda05d2d42 100644 --- a/src/vulkan/wsi/wsi_common_x11.c +++ b/src/vulkan/wsi/wsi_common_x11.c @@ -834,7 +834,7 @@ struct x11_image { uint32_t sync_fence; uint32_t serial; xcb_shm_seg_t shmseg; - uint32_t shmid; + int shmid; uint8_t * shmaddr; };