Commit 840ebb98 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

winedbg: Remove some unnecessary pointer casts.

parent 1d3c14d2
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment