diff options
author | Chris Forbes <chrisforbes@google.com> | 2017-04-24 18:39:31 -0700 |
---|---|---|
committer | Chris Forbes <chrisf@ijw.co.nz> | 2017-04-26 07:55:08 +1200 |
commit | 8e88ad80aacad2085e76016e7bb29d243ce7f7b6 (patch) | |
tree | e51d407d8f196024aa1fff35b8713e839554df1e | |
parent | 28f7140700a1624f4836243204237c80645e0fb9 (diff) |
layers: Fix more signedness noise
-rw-r--r-- | layers/core_validation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 7d2fb22e..5cbddfe1 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -1480,7 +1480,7 @@ static unsigned get_fundamental_type(shader_module const *src, unsigned type) { } static uint32_t get_shader_stage_id(VkShaderStageFlagBits stage) { - uint32_t bit_pos = u_ffs(stage); + uint32_t bit_pos = uint32_t(u_ffs(stage)); return bit_pos - 1; } |