From 8dbc7a699e252e105eff3f8acb119b50b5d9b30d Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Sat, 17 Jan 2009 22:55:12 +0100 Subject: [PATCH] mlang: Remove superfluous pointer casts. --- dlls/mlang/mlang.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c index 2365b09c7c3..375f1025f25 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();