mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
dbghelp: Assign to struct instead of using memcpy.
This commit is contained in:
parent
5625c6079e
commit
53e9e24aa2
@ -644,7 +644,7 @@ static unsigned dump_threads(struct dump_context* dc,
|
||||
cbin.CallbackType = ThreadCallback;
|
||||
cbin.u.Thread.ThreadId = dc->spi->ti[i].dwThreadID;
|
||||
cbin.u.Thread.ThreadHandle = 0; /* FIXME */
|
||||
memcpy(&cbin.u.Thread.Context, &ctx, sizeof(CONTEXT));
|
||||
cbin.u.Thread.Context = ctx;
|
||||
cbin.u.Thread.SizeOfContext = sizeof(CONTEXT);
|
||||
cbin.u.Thread.StackBase = mdThd.Stack.StartOfMemoryRange;
|
||||
cbin.u.Thread.StackEnd = mdThd.Stack.StartOfMemoryRange +
|
||||
|
Loading…
Reference in New Issue
Block a user