diff --git a/src/apps/rocky_demo/Demo_Stats.h b/src/apps/rocky_demo/Demo_Stats.h index 41f28234..18c1fe7d 100644 --- a/src/apps/rocky_demo/Demo_Stats.h +++ b/src/apps/rocky_demo/Demo_Stats.h @@ -43,7 +43,7 @@ namespace long long result = INT_MAX; int s = start - count; if (s < 0) s += frame_count; for (int i = s; i <= s + count; i++) - result = std::min(result, t[i % frame_count].count()); + result = std::min(result, static_cast(t[i % frame_count].count())); return result; } } @@ -143,4 +143,4 @@ auto Demo_Stats = [](Application& app) ImGuiLTable::End(); } -}; \ No newline at end of file +};