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
840ebb98
Commit
840ebb98
authored
Jan 30, 2018
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Remove some unnecessary pointer casts.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1d3c14d2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
info.c
programs/winedbg/info.c
+1
-1
winedbg.c
programs/winedbg/winedbg.c
+1
-1
No files found.
programs/winedbg/info.c
View file @
840ebb98
...
...
@@ -218,7 +218,7 @@ void info_win32_module(DWORD64 base)
* enumeration
*/
SymSetOptions
((
opt
=
SymGetOptions
())
|
0x40000000
);
SymEnumerateModules64
(
dbg_curr_process
->
handle
,
info_mod_cb
,
(
void
*
)
&
im
);
SymEnumerateModules64
(
dbg_curr_process
->
handle
,
info_mod_cb
,
&
im
);
SymSetOptions
(
opt
);
qsort
(
im
.
mi
,
im
.
num_used
,
sizeof
(
im
.
mi
[
0
]),
module_compare
);
...
...
programs/winedbg/winedbg.c
View file @
840ebb98
...
...
@@ -425,7 +425,7 @@ BOOL dbg_get_debuggee_info(HANDLE hProcess, IMAGEHLP_MODULE64* imh_mod)
* enumeration
*/
SymSetOptions
((
opt
=
SymGetOptions
())
|
0x40000000
);
SymEnumerateModules64
(
hProcess
,
mod_loader_cb
,
(
void
*
)
&
mli
);
SymEnumerateModules64
(
hProcess
,
mod_loader_cb
,
&
mli
);
SymSetOptions
(
opt
);
return
imh_mod
->
BaseOfImage
!=
0
;
...
...
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