gcc compilation fix

This commit is contained in:
Anthony Pesch 2015-08-28 15:03:09 -07:00
parent 4d8a1f08b8
commit f5e2b46acc
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@ uint32_t CallBlock(RuntimeBlock *block, Memory *memory, void *guest_ctx) {
void DumpBlock(RuntimeBlock *block) {
X64Fn fn = reinterpret_cast<X64Fn>(block->priv);
DISASM dsm = {};
DISASM dsm;
memset(&dsm, 0, sizeof(dsm));
dsm.Archi = 64;
dsm.EIP = (uintptr_t)fn;
dsm.SecurityBlock = 0;