This patch changes the type used to manipulate the DLL base address from DWORD to LPVOID. The Windows headers declare this address as an LPVOID, and using DWORD causes problems on x86_64-windows because the types do not have the same size. 2009-01-07 Joel Brobecker * 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. Tested on x86-windows. OK to apply? Thanks, -- Joel