For 32bit build. Trivial.
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
flags,
frame_requested,
frame_queued,
- (uint64_t) fence);
+ (uintptr_t) fence);
if (!ret)
return VK_SUCCESS;
if (connector)
*display = wsi_display_connector_to_handle(connector);
else
- *display = NULL;
+ *display = VK_NULL_HANDLE;
return VK_SUCCESS;
}
* mode which provokes reallocation when anything changes, to make
* sure we have the most optimal allocation.
*/
- struct x11_swapchain *old_chain = (void *) pCreateInfo->oldSwapchain;
+ struct x11_swapchain *old_chain = (void *)(intptr_t) pCreateInfo->oldSwapchain;
if (old_chain)
chain->last_present_mode = old_chain->last_present_mode;
else