Commit 18da6f23 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

hid: Assign to struct instead of using memcpy.

parent 6547fef3
......@@ -53,5 +53,5 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
void WINAPI HidD_GetHidGuid(LPGUID guid)
{
TRACE("(%p)\n", guid);
memcpy(guid, &HID_GUID, sizeof(GUID));
*guid = HID_GUID;
}
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