Commit 1b092d70 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

fusion: Remove superfluous casts.

parent 581e3901
...@@ -150,7 +150,7 @@ static HRESULT WINAPI IAssemblyNameImpl_GetProperty(IAssemblyName *iface, ...@@ -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, ...@@ -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;
......
...@@ -153,7 +153,7 @@ static BYTE *GetData(BYTE *pData, ULONG *pLength) ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment