From 3447b348ef1e2e600883a134c4ecd8ba03e966b7 Mon Sep 17 00:00:00 2001 From: Evan Lawrence Date: Fri, 7 Oct 2022 13:52:22 -0700 Subject: [PATCH] Fix tests --- Tests/Kernels/MemoryOperationsTest/Kernel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Kernels/MemoryOperationsTest/Kernel.cs b/Tests/Kernels/MemoryOperationsTest/Kernel.cs index a3cfd3b84c..3b6b03f582 100644 --- a/Tests/Kernels/MemoryOperationsTest/Kernel.cs +++ b/Tests/Kernels/MemoryOperationsTest/Kernel.cs @@ -161,7 +161,7 @@ static unsafe void TestRealloc() { // Allocate initial pointer and fill with value 32 byte* aPtr = Heap.Alloc(16); - MemoryOperations.Fill(aPtr, 32, 16); + MemoryOperations.Fill(aPtr, (int)32, 16); // Resize/realloc to 17 bytes aPtr = Heap.Realloc(aPtr, 17);