mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
remove bad cast
This commit is contained in:
parent
308b9e4575
commit
71d7ba8c88
1 changed files with 1 additions and 1 deletions
|
|
@ -492,7 +492,7 @@ public static partial class ImGuiHelpers
|
|||
/// <exception cref="OutOfMemoryException">If <see cref="ImGui.MemAlloc(nuint)"/> returns null.</exception>
|
||||
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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue