From 724c216d180d257a8d888aec299f297d3d6e91d6 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Fri, 9 Aug 2019 21:17:44 +0200 Subject: [PATCH] ntdll: Remove useless cast to self. Signed-off-by: Michael Stefaniuc Signed-off-by: Alexandre Julliard --- dlls/ntdll/heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntdll/heap.c b/dlls/ntdll/heap.c index 2d2caf551e3..e8ac1ffa7a8 100644 --- a/dlls/ntdll/heap.c +++ b/dlls/ntdll/heap.c @@ -1293,7 +1293,7 @@ static BOOL HEAP_ValidateInUseArena( const SUBHEAP *subheap, const ARENA_INUSE * if (*ptr != ARENA_FREE_FILLER) { ERR("Heap %p: free block %p overwritten at %p by %08x\n", - subheap->heap, (const ARENA_INUSE *)pArena + 1, ptr, *ptr ); + subheap->heap, pArena + 1, ptr, *ptr ); if (!*ptr) { HEAP_Dump( subheap->heap ); DbgBreakPoint(); } return FALSE; }