fusion: Remove superfluous casts.
This commit is contained in:
parent
581e390115
commit
1b092d7013
|
@ -150,7 +150,7 @@ static HRESULT WINAPI IAssemblyNameImpl_GetProperty(IAssemblyName *iface,
|
|||
*pcbProperty = 0;
|
||||
if (name->name)
|
||||
{
|
||||
lstrcpyW((LPWSTR)pvProperty, name->name);
|
||||
lstrcpyW(pvProperty, name->name);
|
||||
*pcbProperty = (lstrlenW(name->name) + 1) * 2;
|
||||
}
|
||||
break;
|
||||
|
@ -187,7 +187,7 @@ static HRESULT WINAPI IAssemblyNameImpl_GetProperty(IAssemblyName *iface,
|
|||
*pcbProperty = 0;
|
||||
if (name->culture)
|
||||
{
|
||||
lstrcpyW((LPWSTR)pvProperty, name->culture);
|
||||
lstrcpyW(pvProperty, name->culture);
|
||||
*pcbProperty = (lstrlenW(name->culture) + 1) * 2;
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -153,7 +153,7 @@ static BYTE *GetData(BYTE *pData, ULONG *pLength)
|
|||
|
||||
static VOID *assembly_data_offset(ASSEMBLY *assembly, ULONG offset)
|
||||
{
|
||||
return (VOID *)&assembly->data[offset];
|
||||
return &assembly->data[offset];
|
||||
}
|
||||
|
||||
#define MAX_TABLES_WORD 0xFFFF
|
||||
|
|
Loading…
Reference in New Issue