Commit fdc48ba7 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: In SymGetTypeInfo(), return the correct basetype for enums.

parent 0a16dbc7
...@@ -613,8 +613,7 @@ BOOL symt_get_info(struct module* module, const struct symt* type, ...@@ -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;
} }
......
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