Michael Stefaniuc : ntdll: Remove useless cast to self.

Alexandre Julliard julliard at winehq.org
Mon Aug 12 18:51:08 CDT 2019


Module: wine
Branch: master
Commit: 724c216d180d257a8d888aec299f297d3d6e91d6
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=724c216d180d257a8d888aec299f297d3d6e91d6

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Fri Aug  9 21:17:44 2019 +0200

ntdll: Remove useless cast to self.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard 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 2d2caf5..e8ac1ff 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;
             }




More information about the wine-cvs mailing list