Commit 8dbc7a69 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

mlang: Remove superfluous pointer casts.

parent 2a06a973
...@@ -1951,7 +1951,7 @@ static HRESULT WINAPI fnIMLangFontLink_CodePagesToCodePage( ...@@ -1951,7 +1951,7 @@ static HRESULT WINAPI fnIMLangFontLink_CodePagesToCodePage(
DWORD Csb[2]; DWORD Csb[2];
Csb[0] = mask; Csb[0] = mask;
Csb[1] = 0x0; Csb[1] = 0x0;
rc = TranslateCharsetInfo((DWORD*)Csb, &cs, TCI_SRCFONTSIG); rc = TranslateCharsetInfo(Csb, &cs, TCI_SRCFONTSIG);
if (!rc) if (!rc)
continue; continue;
...@@ -3294,7 +3294,7 @@ static HRESULT MultiLanguage_create(IUnknown *pUnkOuter, LPVOID *ppObj) ...@@ -3294,7 +3294,7 @@ static HRESULT MultiLanguage_create(IUnknown *pUnkOuter, LPVOID *ppObj)
mlang->total_scripts = sizeof(mlang_data)/sizeof(mlang_data[0]) - 1; mlang->total_scripts = sizeof(mlang_data)/sizeof(mlang_data[0]) - 1;
mlang->ref = 1; mlang->ref = 1;
*ppObj = (LPVOID) mlang; *ppObj = mlang;
TRACE("returning %p\n", mlang); TRACE("returning %p\n", mlang);
LockModule(); LockModule();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment