We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb1809d commit 33e439dCopy full SHA for 33e439d
src/coreclr/debug/ee/executioncontrol.cpp
@@ -60,7 +60,7 @@ bool InterpreterExecutionControl::UnapplyPatch(DebuggerControllerPatch* patch)
60
patch, patch->address, patch->opcode));
61
62
// Restore the original opcode
63
- *(uint32_t*)patch->address = patch->opcode;
+ *(uint32_t*)patch->address = (uint32_t)patch->opcode; // Opcodes are stored in uint32_t slots
64
InitializePRD(&(patch->opcode));
65
66
LOG((LF_CORDB, LL_EVERYTHING, "InterpreterEC::UnapplyPatch Restored opcode at %p\n",
0 commit comments