mlang: Remove superfluous pointer casts.
This commit is contained in:
parent
2a06a97336
commit
8dbc7a699e
|
@ -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)
|
||||||
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();
|
||||||
|
|
Loading…
Reference in New Issue