hlink: Assign to struct instead of using memcpy
Andrew Talbot
andrew.talbot at talbotville.com
Fri Feb 29 04:44:01 CST 2008
Changelog:
hlink: Assign to struct instead of using memcpy.
diff --git a/dlls/hlink/link.c b/dlls/hlink/link.c
index 1720006..ca9f12c 100644
--- a/dlls/hlink/link.c
+++ b/dlls/hlink/link.c
@@ -602,7 +602,7 @@ static HRESULT WINAPI IPersistStream_fnGetClassID(IPersistStream* iface,
{
HlinkImpl *This = HlinkImpl_from_IPersistStream(iface);
TRACE("(%p)\n", This);
- memcpy(pClassID, &CLSID_StdHlink, sizeof(CLSID));
+ *pClassID = CLSID_StdHlink;
return S_OK;
}
More information about the wine-patches
mailing list