Merged in misc_cast_fix (pull request #64)

Use explicit type for static_cast

Approved-by: Matt Feemster
This commit is contained in:
Seth 2022-03-23 04:41:23 +00:00 committed by Matt Feemster
commit 0a015babec

View File

@ -431,7 +431,7 @@ bool FractoriumEmberController<T>::Render()
{
const auto stats = m_Renderer->Stats();
auto iters = ToString<qulonglong>(stats.m_Iters);
auto scaledQuality = ToString(static_cast<intmax_t>(m_Renderer->ScaledQuality()));
auto scaledQuality = ToString(static_cast<qulonglong>(m_Renderer->ScaledQuality()));
auto renderTime = m_RenderElapsedTimer.Format(m_RenderElapsedTimer.Toc());
m_Fractorium->m_ProgressBar->setValue(100);