tests: Fix type mismatch in wrap_objects
Change-Id: I4544293ae03565f345650a2dd41c8e36b5ab8205
diff --git a/tests/layers/wrap_objects.cpp b/tests/layers/wrap_objects.cpp
index 6bb6847..bfb0d53 100644
--- a/tests/layers/wrap_objects.cpp
+++ b/tests/layers/wrap_objects.cpp
@@ -103,7 +103,7 @@
if (inst->ptr_phys_devs)
delete[] inst->ptr_phys_devs;
inst->ptr_phys_devs = phys_devs;
- for (int i = 0; i < *pPhysicalDeviceCount; i++) {
+ for (uint32_t i = 0; i < *pPhysicalDeviceCount; i++) {
if (inst->pfn_inst_init == NULL) {
phys_devs[i].loader_disp = *(reinterpret_cast<VkLayerInstanceDispatchTable **> (pPhysicalDevices[i]));
} else {