[PATCH] msxml3/tests: Remove superfluous cast to self

Michael Stefaniuc mstefani at winehq.org
Thu Aug 26 02:45:24 CDT 2021


Signed-off-by: Michael Stefaniuc <mstefani 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 */
-- 
2.31.1




More information about the wine-devel mailing list