diff options
Diffstat (limited to 'layers/unique_objects.cpp')
| -rw-r--r-- | layers/unique_objects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/unique_objects.cpp b/layers/unique_objects.cpp index b8564f36..d4aabdfe 100644 --- a/layers/unique_objects.cpp +++ b/layers/unique_objects.cpp @@ -260,7 +260,7 @@ static const VkLayerProperties globalLayerProps = {"VK_LAYER_GOOGLE_unique_objec "Google Validation Layer"}; static inline PFN_vkVoidFunction layer_intercept_proc(const char *name) { - for (int i = 0; i < sizeof(procmap) / sizeof(procmap[0]); i++) { + for (unsigned int i = 0; i < sizeof(procmap) / sizeof(procmap[0]); i++) { if (!strcmp(name, procmap[i].name)) return procmap[i].pFunc; } |
