mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 05:03:40 +00:00
winedbg: Remove some unnecessary pointer casts.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1d3c14d2d1
commit
840ebb9833
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue