fusion: Remove superfluous casts.
Michael Stefaniuc
mstefani at redhat.de
Wed Jan 7 17:36:35 CST 2009
---
dlls/fusion/asmname.c | 4 ++--
dlls/fusion/assembly.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/fusion/asmname.c b/dlls/fusion/asmname.c
index 81a5b82..50ae05e 100644
--- a/dlls/fusion/asmname.c
+++ b/dlls/fusion/asmname.c
@@ -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;
diff --git a/dlls/fusion/assembly.c b/dlls/fusion/assembly.c
index dfa4492..7be541c 100644
--- a/dlls/fusion/assembly.c
+++ b/dlls/fusion/assembly.c
@@ -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
--
1.6.0.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090108/0ce1ee47/attachment.pgp
More information about the wine-patches
mailing list