mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
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];
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user