From da047e32a5e7906263e640faaaeb2944ddd6ac54 Mon Sep 17 00:00:00 2001 From: Omar Rashwan Date: Wed, 13 May 2026 09:52:44 -0700 Subject: [PATCH] intel: Fix bit width of int literal in eu stall viewer Closes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/15417 Part-of: --- src/intel/tools/intel_eu_stall_viewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/tools/intel_eu_stall_viewer.cpp b/src/intel/tools/intel_eu_stall_viewer.cpp index 4cbfc85fb22..213beb16dbc 100644 --- a/src/intel/tools/intel_eu_stall_viewer.cpp +++ b/src/intel/tools/intel_eu_stall_viewer.cpp @@ -172,7 +172,7 @@ public: float inst_hotness = (double) std::get<3>(inst).types[stall_type_] / - (double) std::max(max_hits_.types[stall_type_], 1ul); + (double) std::max(max_hits_.types[stall_type_], 1ull); ImU32 row_bg_color = ImGui::GetColorU32(ImVec4(inst_hotness, 0.0f, 0.0f, 0.5f)); ImGui::TableSetBgColor(ImGuiTableBgTarget_RowBg0, row_bg_color);