[PATCH] ntdll: Remove useless cast to self
Michael Stefaniuc
mstefani at winehq.org
Fri Aug 9 14:17:44 CDT 2019
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
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 2d2caf551e..e8ac1ffa7a 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;
}
--
2.20.1
More information about the wine-devel
mailing list