Eric Pouech : dbghelp: In SymGetTypeInfo(), return the correct basetype for enums.
Alexandre Julliard
julliard at winehq.org
Wed Dec 8 15:46:31 CST 2021
Module: wine
Branch: master
Commit: fdc48ba767850e2e0ec5121777a86a9e21a7535e
URL: https://source.winehq.org/git/wine.git/?a=commit;h=fdc48ba767850e2e0ec5121777a86a9e21a7535e
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Wed Dec 8 14:44:15 2021 +0100
dbghelp: In SymGetTypeInfo(), return the correct basetype for enums.
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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-cvs
mailing list