Michael Stefaniuc : msxml3/tests: Remove superfluous cast to self.

Alexandre Julliard julliard at winehq.org
Thu Aug 26 15:22:30 CDT 2021


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

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Thu Aug 26 09:45:24 2021 +0200

msxml3/tests: Remove superfluous cast to self.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msxml3/tests/domdoc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c
index d2a4d867bae..063f9433a77 100644
--- a/dlls/msxml3/tests/domdoc.c
+++ b/dlls/msxml3/tests/domdoc.c
@@ -258,7 +258,7 @@ static IDispatch* create_dispevent(void)
     event->IDispatch_iface.lpVtbl = &dispeventVtbl;
     event->ref = 1;
 
-    return (IDispatch*)&event->IDispatch_iface;
+    return &event->IDispatch_iface;
 }
 
 /* IStream */




More information about the wine-cvs mailing list