dbghelp: In SymGetTypeInfo(), return the correct basetype for enums.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0a16dbc730
commit
fdc48ba767
|
@ -613,8 +613,7 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
|
||||||
X(DWORD) = ((const struct symt_basic*)type)->bt;
|
X(DWORD) = ((const struct symt_basic*)type)->bt;
|
||||||
break;
|
break;
|
||||||
case SymTagEnum:
|
case SymTagEnum:
|
||||||
X(DWORD) = btInt;
|
return symt_get_info(module, ((const struct symt_enum*)type)->base_type, req, pInfo);
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue