mlang: Remove superfluous pointer casts.

Michael Stefaniuc mstefani at redhat.de
Sat Jan 17 15:55:12 CST 2009


---
 dlls/mlang/mlang.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c
index 2365b09..375f102 100644
--- a/dlls/mlang/mlang.c
+++ b/dlls/mlang/mlang.c
@@ -1951,7 +1951,7 @@ static HRESULT WINAPI fnIMLangFontLink_CodePagesToCodePage(
             DWORD Csb[2];
             Csb[0] = mask;
             Csb[1] = 0x0;
-            rc = TranslateCharsetInfo((DWORD*)Csb, &cs, TCI_SRCFONTSIG);
+            rc = TranslateCharsetInfo(Csb, &cs, TCI_SRCFONTSIG);
             if (!rc)
                 continue;
 
@@ -3294,7 +3294,7 @@ static HRESULT MultiLanguage_create(IUnknown *pUnkOuter, LPVOID *ppObj)
     mlang->total_scripts = sizeof(mlang_data)/sizeof(mlang_data[0]) - 1;
 
     mlang->ref = 1;
-    *ppObj = (LPVOID) mlang;
+    *ppObj = mlang;
     TRACE("returning %p\n", mlang);
 
     LockModule();
-- 
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/20090117/88e74a48/attachment.pgp 


More information about the wine-patches mailing list