dbghelp: Return the correct length for an enumeration.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
46c12b2971
commit
62c06fc31c
|
@ -663,7 +663,8 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
|
||||||
X(DWORD64) = ((const struct symt_udt*)type)->size;
|
X(DWORD64) = ((const struct symt_udt*)type)->size;
|
||||||
break;
|
break;
|
||||||
case SymTagEnum:
|
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;
|
break;
|
||||||
case SymTagData:
|
case SymTagData:
|
||||||
if (((const struct symt_data*)type)->kind != DataIsMember ||
|
if (((const struct symt_data*)type)->kind != DataIsMember ||
|
||||||
|
|
Loading…
Reference in New Issue