Commit 62c06fc3 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: Return the correct length for an enumeration.

parent 46c12b29
......@@ -663,7 +663,8 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
X(DWORD64) = ((const struct symt_udt*)type)->size;
break;
case SymTagEnum:
X(DWORD64) = sizeof(int); /* FIXME: should be size of base-type of enum !!! */
if (!symt_get_info(module, ((const struct symt_enum*)type)->base_type, TI_GET_LENGTH, pInfo))
return FALSE;
break;
case SymTagData:
if (((const struct symt_data*)type)->kind != DataIsMember ||
......
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