Commit 7fdcb092 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

mscoree: Use assignment instead of memcpy to copy a struct.

parent 0020c5f9
......@@ -988,7 +988,7 @@ static void FixupVTableEntry(HMODULE hmodule, VTableFixup *vtable_fixup)
memcpy(tokens, vtable, sizeof(*tokens) * vtable_fixup->count);
for (i=0; i<vtable_fixup->count; i++)
{
memcpy(&thunks[i], &thunk_template, sizeof(thunk_template));
thunks[i] = thunk_template;
thunks[i].fixup = fixup;
thunks[i].function = ReallyFixupVTable;
thunks[i].vtable_entry = &vtable[i];
......
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