diff options
| author | Michael Mc Donnell <michael@mcdonnell.dk> | 2016-04-03 14:47:51 -0700 |
|---|---|---|
| committer | Dustin Graves <dustin@lunarg.com> | 2016-04-04 15:06:31 -0600 |
| commit | 1968b5ff0ebb9a6e6f6d2afc157a94f610c9bea1 (patch) | |
| tree | 61c1f36e0ab3f446640f38c0eb062c4b6ef5835d /layers/swapchain.cpp | |
| parent | d39940e4551ac55c3eaf1f23ceb3642d60d962bb (diff) | |
| download | usermoji-1968b5ff0ebb9a6e6f6d2afc157a94f610c9bea1.tar.xz | |
layers: Fix 7 signed/unsigned comparison warnings on VS2015
Diffstat (limited to 'layers/swapchain.cpp')
| -rw-r--r-- | layers/swapchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/swapchain.cpp b/layers/swapchain.cpp index 1feabfdd..bbeb2674 100644 --- a/layers/swapchain.cpp +++ b/layers/swapchain.cpp @@ -1284,7 +1284,7 @@ static VkBool32 validateCreateSwapchainKHR(VkDevice device, const VkSwapchainCre // Validate pCreateInfo values with result of // vkGetPhysicalDeviceQueueFamilyProperties if (pPhysicalDevice && pPhysicalDevice->gotQueueFamilyPropertyCount) { - for (auto i = 0; i < pCreateInfo->queueFamilyIndexCount; i++) { + for (uint32_t i = 0; i < pCreateInfo->queueFamilyIndexCount; i++) { if (pCreateInfo->pQueueFamilyIndices[i] >= pPhysicalDevice->numOfQueueFamilies) { skipCall |= LOG_ERROR_QUEUE_FAMILY_INDEX_TOO_LARGE(VK_DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT, pPhysicalDevice, "VkPhysicalDevice", pCreateInfo->pQueueFamilyIndices[i], |
