fusion: Remove superfluous casts.

This commit is contained in:
Michael Stefaniuc 2009-01-08 00:36:35 +01:00 committed by Alexandre Julliard
parent 581e390115
commit 1b092d7013
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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