Re: [RFA/win32] Change the DLL base address type to LPVOID

Jan Kratochvil
2009-01-07T14:43:21Z

On Wed, 07 Jan 2009 12:46:20 +0100, Joel Brobecker wrote:
> 2009-01-07 Joel Brobecker <brobecker@adacore.com>
>
> * win32-nat.c (get_module_name): Change the type of parameter
> "base_address" to LPVOID. Remove unnecessary cast.
> (struct lm_info): Change type of load_addr to LPVOID.
> (win32_make_so): Change the type of parameter "load_addr"
> to LPVOID. Remove some unnecessary casts.
> (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
> (win32_xfer_shared_libraries): Add missing cast.
...

[ farproc.diff ]
> - kernel32_DebugSetProcessKillOnExit = GetProcAddress (kernel32,
> - "DebugSetProcessKillOnExit");
> + kernel32_DebugSetProcessKillOnExit =
> + (void *) GetProcAddress (kernel32, "DebugSetProcessKillOnExit");

You have attached a different patch file, the LPVOID patch file is missing.

Regards,
Jan