Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
62c06fc3
Commit
62c06fc3
authored
Aug 30, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Aug 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
>
parent
46c12b29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
type.c
dlls/dbghelp/type.c
+2
-1
No files found.
dlls/dbghelp/type.c
View file @
62c06fc3
...
...
@@ -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
||
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment