Commit f9e1a827 authored by Conor McCarthy's avatar Conor McCarthy Committed by Alexandre Julliard

winedbg: Use correct CALL operand size when fetching the delta.

parent 15e30b9c
......@@ -356,14 +356,14 @@ static BOOL fetch_value(const char* addr, unsigned sz, int* value)
switch (sz)
{
case 8:
case 1:
if (!dbg_read_memory(addr, &value8, sizeof(value8))) return FALSE;
*value = value8;
break;
case 16:
case 2:
if (!dbg_read_memory(addr, &value16, sizeof(value16))) return FALSE;
*value = value16;
case 32:
case 4:
if (!dbg_read_memory(addr, value, sizeof(*value))) return FALSE;
break;
default: return FALSE;
......
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