msi: Remove casts to the type of the casted variable.
This commit is contained in:
parent
9477521fb8
commit
6074bd51cc
|
@ -3386,7 +3386,7 @@ static UINT ITERATE_RegisterTypeLibraries(MSIRECORD *row, LPVOID param)
|
||||||
{
|
{
|
||||||
LPCWSTR guid;
|
LPCWSTR guid;
|
||||||
guid = MSI_RecordGetString(row,1);
|
guid = MSI_RecordGetString(row,1);
|
||||||
CLSIDFromString((LPCWSTR)guid, &tl_struct.clsid);
|
CLSIDFromString( guid, &tl_struct.clsid);
|
||||||
tl_struct.source = strdupW( file->TargetPath );
|
tl_struct.source = strdupW( file->TargetPath );
|
||||||
tl_struct.path = NULL;
|
tl_struct.path = NULL;
|
||||||
|
|
||||||
|
@ -3473,7 +3473,7 @@ static UINT ITERATE_UnregisterTypeLibraries( MSIRECORD *row, LPVOID param )
|
||||||
msi_ui_actiondata( package, szUnregisterTypeLibraries, row );
|
msi_ui_actiondata( package, szUnregisterTypeLibraries, row );
|
||||||
|
|
||||||
guid = MSI_RecordGetString( row, 1 );
|
guid = MSI_RecordGetString( row, 1 );
|
||||||
CLSIDFromString( (LPCWSTR)guid, &libid );
|
CLSIDFromString( guid, &libid );
|
||||||
version = MSI_RecordGetInteger( row, 4 );
|
version = MSI_RecordGetInteger( row, 4 );
|
||||||
language = MSI_RecordGetInteger( row, 2 );
|
language = MSI_RecordGetInteger( row, 2 );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue