mlang: Remove superfluous pointer casts.

This commit is contained in:
Michael Stefaniuc 2009-01-17 22:55:12 +01:00 committed by Alexandre Julliard
parent 2a06a97336
commit 8dbc7a699e
1 changed files with 2 additions and 2 deletions

View File

@ -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();