fixup simple type conversions where possible

This commit is contained in:
Alexander Laties 2016-04-25 16:10:03 -04:00
parent 8417518330
commit 17e9bc5392
14 changed files with 55 additions and 45 deletions

View file

@ -515,7 +515,7 @@ void GraphicsVertexShaderWidget::Reload(bool replace_vertex_data, void* vertex_d
}
// Initialize debug info text for current cycle count
cycle_index->setMaximum(debug_data.records.size() - 1);
cycle_index->setMaximum(static_cast<int>(debug_data.records.size() - 1));
OnCycleIndexChanged(cycle_index->value());
model->endResetModel();