[PATCH] msctf: Remove useless cast to self

Michael Stefaniuc mstefani at winehq.org
Fri May 17 13:34:39 CDT 2019


Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
 dlls/msctf/context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/msctf/context.c b/dlls/msctf/context.c
index 452895c07e..ff67d38456 100644
--- a/dlls/msctf/context.c
+++ b/dlls/msctf/context.c
@@ -852,7 +852,7 @@ static HRESULT WINAPI TextStoreACPSink_OnLockGranted(ITextStoreACPSink *iface,
         /*TODO: implement ITfEditRecord */
         SINK_FOR_EACH(cursor, &This->pTextEditSink, ITfTextEditSink, sink)
         {
-            ITfTextEditSink_OnEndEdit(sink, (ITfContext*) &This->ITfContext_iface, sc, NULL);
+            ITfTextEditSink_OnEndEdit(sink, &This->ITfContext_iface, sc, NULL);
         }
         sinkcookie = remove_Cookie(sc);
     }
-- 
2.20.1




More information about the wine-devel mailing list