aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2017-04-24 18:34:59 -0700
committerChris Forbes <chrisf@ijw.co.nz>2017-04-26 07:55:08 +1200
commit80e6719f623f872c576078443e447371d0fe68f8 (patch)
tree8ceebc8a7a68650db23e73eddc69f399157e8f7c /layers/core_validation.cpp
parente2cdae28d4a896d1b052ff47fa511b7d3d90a8bd (diff)
downloadusermoji-80e6719f623f872c576078443e447371d0fe68f8.tar.xz
layers: Fix some signedness mess
Diffstat (limited to 'layers/core_validation.cpp')
-rw-r--r--layers/core_validation.cpp2
1 files changed, 1 insertions, 1 deletions
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<unsigned, unsigned> const &map, unsigned id, int def) {
+static unsigned value_or_default(std::unordered_map<unsigned, unsigned> const &map, unsigned id, unsigned def) {
auto it = map.find(id);
if (it == map.end())
return def;