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

This commit is contained in:
Michael Stefaniuc 2013-01-25 10:02:38 +01:00 committed by Alexandre Julliard
parent 0020c5f9dd
commit 7fdcb092b7
1 changed files with 1 additions and 1 deletions

View File

@ -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];