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 | fb474b0bdd34cfb29e881c11426f22530081bae5 (patch) | |
| tree | 1107186c4c35a7ba57fb2ce225c928c3fd1d58bc /layers/core_validation.cpp | |
| parent | 2c769f087d695f60187c33b049512dbe922bec84 (diff) | |
| download | usermoji-fb474b0bdd34cfb29e881c11426f22530081bae5.tar.xz | |
layers: Fix more signedness noise
Diffstat (limited to 'layers/core_validation.cpp')
| -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; } |
