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:
Eric Pouech 2021-12-08 14:44:15 +01:00 committed by Alexandre Julliard
parent 0a16dbc730
commit fdc48ba767

View file

@ -613,8 +613,7 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
X(DWORD) = ((const struct symt_basic*)type)->bt;
break;
case SymTagEnum:
X(DWORD) = btInt;
break;
return symt_get_info(module, ((const struct symt_enum*)type)->base_type, req, pInfo);
default:
return FALSE;
}