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; *pcbProperty = 0;
if (name->name) if (name->name)
{ {
lstrcpyW((LPWSTR)pvProperty, name->name); lstrcpyW(pvProperty, name->name);
*pcbProperty = (lstrlenW(name->name) + 1) * 2; *pcbProperty = (lstrlenW(name->name) + 1) * 2;
} }
break; break;
@ -187,7 +187,7 @@ static HRESULT WINAPI IAssemblyNameImpl_GetProperty(IAssemblyName *iface,
*pcbProperty = 0; *pcbProperty = 0;
if (name->culture) if (name->culture)
{ {
lstrcpyW((LPWSTR)pvProperty, name->culture); lstrcpyW(pvProperty, name->culture);
*pcbProperty = (lstrlenW(name->culture) + 1) * 2; *pcbProperty = (lstrlenW(name->culture) + 1) * 2;
} }
break; break;

View File

@ -153,7 +153,7 @@ static BYTE *GetData(BYTE *pData, ULONG *pLength)
static VOID *assembly_data_offset(ASSEMBLY *assembly, ULONG offset) static VOID *assembly_data_offset(ASSEMBLY *assembly, ULONG offset)
{ {
return (VOID *)&assembly->data[offset]; return &assembly->data[offset];
} }
#define MAX_TABLES_WORD 0xFFFF #define MAX_TABLES_WORD 0xFFFF