From 80e6719f623f872c576078443e447371d0fe68f8 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 24 Apr 2017 18:34:59 -0700 Subject: layers: Fix some signedness mess --- layers/core_validation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layers/core_validation.cpp') diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 109edf79..0692b941 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -1035,7 +1035,7 @@ static bool types_match(shader_module const *a, shader_module const *b, unsigned } } -static int value_or_default(std::unordered_map const &map, unsigned id, int def) { +static unsigned value_or_default(std::unordered_map const &map, unsigned id, unsigned def) { auto it = map.find(id); if (it == map.end()) return def; -- cgit v1.2.3