mirror of
https://gitee.com/openharmony/third_party_spirv-tools
synced 2024-11-27 09:32:08 +00:00
Fixed warning in VS2013 build.
Signed/Unsigned mismatch in progressToNextLayoutStageOrder().
This commit is contained in:
parent
32197bdcd7
commit
b345135990
@ -186,7 +186,7 @@ ModuleLayoutSection ValidationState_t::getLayoutStage() const {
|
||||
}
|
||||
|
||||
void ValidationState_t::progressToNextLayoutStageOrder() {
|
||||
if (current_layout_stage_ <= GetModuleOrder().size()) {
|
||||
if (static_cast<size_t>(current_layout_stage_) <= GetModuleOrder().size()) {
|
||||
current_layout_stage_ =
|
||||
static_cast<ModuleLayoutSection>(current_layout_stage_ + 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user