Fix int -> unsigned int conversion warnings in dispatch funcs

Signed-off-by: Alex Bates <alex.bates@arm.com>
Change-Id: Ieaa2191bdb38e755ba64a63da021b1ce81a19c0c
This commit is contained in:
Alex Bates 2025-12-08 16:31:00 +00:00
parent ad61e4292d
commit 2a8d0e47b2
2 changed files with 2 additions and 2 deletions

View file

@ -423,7 +423,7 @@ wsi_layer_vkBindImageMemory2(VkDevice device, uint32_t bindInfoCount,
if (bind_sc_info == nullptr || bind_sc_info->swapchain == VK_NULL_HANDLE ||
!device_data.layer_owns_swapchain(bind_sc_info->swapchain))
{
result = device_data.disp.BindImageMemory2KHR(device, 1, &pBindInfos[i]);
result = device_data.disp.BindImageMemory2KHR(device, 1u, &pBindInfos[i]);
error_message = "Failed to bind image memory";
}
else

View file

@ -233,7 +233,7 @@ VkResult sync_queue_submit(const layer::device_private_data &device, VkQueue que
semaphores.signal_semaphores_count,
semaphores.signal_semaphores };
TRY(device.disp.QueueSubmit(queue, 1, &submit_info, fence));
TRY(device.disp.QueueSubmit(queue, 1u, &submit_info, fence));
return VK_SUCCESS;
}