itss: Remove some superfluous pointer casts.
Michael Stefaniuc
mstefani at redhat.de
Mon Jan 26 04:01:19 CST 2009
---
dlls/itss/itss.c | 2 +-
dlls/itss/moniker.c | 2 +-
dlls/itss/protocol.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/itss/itss.c b/dlls/itss/itss.c
index 0722efa..3ecab25 100644
--- a/dlls/itss/itss.c
+++ b/dlls/itss/itss.c
@@ -363,7 +363,7 @@ static HRESULT ITSS_create(IUnknown *pUnkOuter, LPVOID *ppObj)
its->ref = 1;
TRACE("-> %p\n", its);
- *ppObj = (LPVOID) its;
+ *ppObj = its;
ITSS_LockModule();
return S_OK;
diff --git a/dlls/itss/moniker.c b/dlls/itss/moniker.c
index 41e2bda..76630cd 100644
--- a/dlls/itss/moniker.c
+++ b/dlls/itss/moniker.c
@@ -473,7 +473,7 @@ HRESULT ITS_IParseDisplayName_create(IUnknown *pUnkOuter, LPVOID *ppObj)
its->ref = 1;
TRACE("-> %p\n", its);
- *ppObj = (LPVOID) its;
+ *ppObj = its;
ITSS_LockModule();
return S_OK;
diff --git a/dlls/itss/protocol.c b/dlls/itss/protocol.c
index c2277e2..a028c85 100644
--- a/dlls/itss/protocol.c
+++ b/dlls/itss/protocol.c
@@ -47,7 +47,7 @@ typedef struct {
} ITSProtocol;
#define PROTOCOL(x) ((IInternetProtocol*) &(x)->lpInternetProtocolVtbl)
-#define PROTINFO(x) ((IInternetProtocolInfo*) &(x)->lpInternetProtocolInfoVtbl)
+#define PROTINFO(x) (&(x)->lpInternetProtocolInfoVtbl)
static void release_chm(ITSProtocol *This)
{
--
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/20090126/e823fcb3/attachment.pgp
More information about the wine-patches
mailing list