Fixed warning in VS2013 build.

Signed/Unsigned mismatch in progressToNextLayoutStageOrder().
This commit is contained in:
Andrew Woloszyn 2016-01-13 10:44:05 -05:00
parent 32197bdcd7
commit b345135990

View File

@ -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);
}