1
0
mirror of synced 2025-01-11 05:42:15 +01:00

fix: Narrow to wide type compare in loop in timestamp visualizer

This commit is contained in:
WerWolv 2024-12-16 22:17:58 +01:00
parent 1c755249ec
commit 384aa6e6a9

View File

@ -47,11 +47,11 @@ namespace hex::plugin::visualizers {
ImGui::TableNextRow(); ImGui::TableNextRow();
// Skip days before the first day of the month // Skip days before the first day of the month
for (u8 i = 0; i < firstWeekDay.c_encoding() - 1; ++i) for (u32 i = 0; i < firstWeekDay.c_encoding() - 1; ++i)
ImGui::TableNextColumn(); ImGui::TableNextColumn();
// Draw days // Draw days
for (u8 i = 1; i <= u32(lastMonthDay.day()); ++i) { for (u32 i = 1; i <= u32(lastMonthDay.day()); ++i) {
ImGui::TableNextColumn(); ImGui::TableNextColumn();
ImGuiExt::TextFormatted("{:02}", i); ImGuiExt::TextFormatted("{:02}", i);