[PATCH 11/17] dbghelp: in SymGetTypeInfo(), return the correct basetype for enums
Eric Pouech
eric.pouech at gmail.com
Tue Dec 7 11:46:21 CST 2021
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
---
dlls/dbghelp/type.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/dbghelp/type.c b/dlls/dbghelp/type.c
index b7eb49116e2..3140d30e0bc 100644
--- a/dlls/dbghelp/type.c
+++ b/dlls/dbghelp/type.c
@@ -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;
}
More information about the wine-devel
mailing list