From 71d7ba8c88389aec757d1bebcb286eefdc406631 Mon Sep 17 00:00:00 2001 From: goaaats Date: Sun, 13 Apr 2025 21:59:45 +0200 Subject: [PATCH] remove bad cast --- Dalamud/Interface/Utility/ImGuiHelpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dalamud/Interface/Utility/ImGuiHelpers.cs b/Dalamud/Interface/Utility/ImGuiHelpers.cs index 9a5fa16be..d43bfef0f 100644 --- a/Dalamud/Interface/Utility/ImGuiHelpers.cs +++ b/Dalamud/Interface/Utility/ImGuiHelpers.cs @@ -492,7 +492,7 @@ public static partial class ImGuiHelpers /// If returns null. public static unsafe void* AllocateMemory(nuint length) { - var memory = ImGui.MemAlloc((uint)length); + var memory = ImGui.MemAlloc(length); if (memory is null) { throw new OutOfMemoryException(