inetcomm: Remove superfluous pointer casts.

Michael Stefaniuc mstefani at redhat.de
Mon Jan 19 03:24:14 CST 2009


---
 dlls/inetcomm/mimeole.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/inetcomm/mimeole.c b/dlls/inetcomm/mimeole.c
index bcc08dc..871ffa5 100644
--- a/dlls/inetcomm/mimeole.c
+++ b/dlls/inetcomm/mimeole.c
@@ -1125,7 +1125,7 @@ HRESULT MimeBody_create(IUnknown *outer, void **obj)
     body_offsets.cbBodyStart     = body_offsets.cbBodyEnd     = 0;
     MimeBody_set_offsets(This, &body_offsets);
 
-    *obj = (IMimeBody *)&This->lpVtbl;
+    *obj = &This->lpVtbl;
     return S_OK;
 }
 
@@ -2563,7 +2563,7 @@ HRESULT MimeMessage_create(IUnknown *outer, void **obj)
     list_init(&This->body_tree);
     This->next_hbody = (HBODY)1;
 
-    *obj = (IMimeMessage *)&This->lpVtbl;
+    *obj = &This->lpVtbl;
     return S_OK;
 }
 
@@ -2774,7 +2774,7 @@ HRESULT MimeSecurity_create(IUnknown *outer, void **obj)
     This->lpVtbl = &MimeSecurityVtbl;
     This->refs = 1;
 
-    *obj = (IMimeSecurity *)&This->lpVtbl;
+    *obj = &This->lpVtbl;
     return S_OK;
 }
 
-- 
1.6.0.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090119/d48ddfcb/attachment-0001.pgp 


More information about the wine-patches mailing list