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
e1e761d5
Commit
e1e761d5
authored
Aug 27, 2021
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Aug 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Remove superfluous casts to self.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
052113c0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
dwarf.c
dlls/dbghelp/dwarf.c
+1
-1
module.c
dlls/dbghelp/module.c
+1
-1
pe_module.c
dlls/dbghelp/pe_module.c
+1
-1
No files found.
dlls/dbghelp/dwarf.c
View file @
e1e761d5
...
...
@@ -3167,7 +3167,7 @@ static ULONG_PTR eval_expression(const struct module* module, struct cpu_stack_w
case
1
:
stack
[
sp
]
=
*
(
unsigned
char
*
)
&
tmp
;
break
;
case
2
:
stack
[
sp
]
=
*
(
unsigned
short
*
)
&
tmp
;
break
;
case
4
:
stack
[
sp
]
=
*
(
unsigned
int
*
)
&
tmp
;
break
;
case
8
:
stack
[
sp
]
=
*
(
ULONG_PTR
*
)
&
tmp
;
break
;
/* FIXME: won't work on 32bit platform */
case
8
:
stack
[
sp
]
=
tmp
;
break
;
/* FIXME: won't work on 32bit platform */
default:
FIXME
(
"Unknown size for deref 0x%lx
\n
"
,
sz
);
}
break
;
...
...
dlls/dbghelp/module.c
View file @
e1e761d5
...
...
@@ -677,7 +677,7 @@ BOOL image_check_alternate(struct image_file_map* fmap, const struct module* mod
const
char
*
dbg_link
;
found
=
TRUE
;
dbg_link
=
(
const
char
*
)
image_map_section
(
&
debuglink_sect
);
dbg_link
=
image_map_section
(
&
debuglink_sect
);
if
(
dbg_link
!=
IMAGE_NO_MAP
)
{
/* The content of a debug link section is:
...
...
dlls/dbghelp/pe_module.c
View file @
e1e761d5
...
...
@@ -428,7 +428,7 @@ static BOOL pe_load_coff_symbol_table(struct module* module)
if
(
!
fmap
->
u
.
pe
.
ntheader
.
FileHeader
.
PointerToSymbolTable
||
!
numsym
)
return
TRUE
;
if
(
!
(
mapping
=
pe_map_full
(
fmap
,
NULL
)))
return
FALSE
;
isym
=
(
const
IMAGE_SYMBOL
*
)(
(
const
char
*
)
mapping
+
fmap
->
u
.
pe
.
ntheader
.
FileHeader
.
PointerToSymbolTable
);
isym
=
(
const
IMAGE_SYMBOL
*
)(
mapping
+
fmap
->
u
.
pe
.
ntheader
.
FileHeader
.
PointerToSymbolTable
);
/* FIXME: no way to get strtable size */
strtable
=
(
const
char
*
)
&
isym
[
numsym
];
sect
=
IMAGE_FIRST_SECTION
(
RtlImageNtHeader
((
HMODULE
)
mapping
));
...
...
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