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:
Nikolay Sivov 2018-01-30 16:57:03 +03:00 committed by Alexandre Julliard
parent 1d3c14d2d1
commit 840ebb9833
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;