Code analysis pass

This commit is contained in:
Arnaud Jamin
2025-02-06 15:46:34 -05:00
parent 2765d07cb9
commit 1e27fc0c13
98 changed files with 357 additions and 465 deletions
@@ -714,9 +714,9 @@ void FCogEngineWindow_Plots::RenderEventTooltip(const FCogDebugPlotEvent* Hovere
ImGui::Text("Frames");
ImGui::TableNextColumn();
ImGui::Text("%d [%d-%d]",
(int32)(ActualEndFrame - HoveredEvent->StartFrame),
(int32)(HoveredEvent->StartFrame % 1000),
(int32)(ActualEndFrame % 1000));
static_cast<int32>(ActualEndFrame - HoveredEvent->StartFrame),
static_cast<int32>(HoveredEvent->StartFrame % 1000),
static_cast<int32>(ActualEndFrame % 1000));
}
else
{
@@ -724,7 +724,7 @@ void FCogEngineWindow_Plots::RenderEventTooltip(const FCogDebugPlotEvent* Hovere
ImGui::TableNextColumn();
ImGui::Text("Frame");
ImGui::TableNextColumn();
ImGui::Text("%d", (int32)(HoveredEvent->StartFrame % 1000));
ImGui::Text("%d", static_cast<int32>(HoveredEvent->StartFrame % 1000));
}
//------------------------