mirror of https://github.com/GNOME/gimp.git
app: fix wrong fix to gimpbacktrace-windows.c
This fixes commit 468f3e84d8
.
This commit is contained in:
parent
095e8299a0
commit
c93e5a2eae
|
@ -461,7 +461,7 @@ gimp_backtrace_new (gboolean include_current_thread)
|
|||
StackWalk64 (machine_type, hProcess, hThread, &frame, &context,
|
||||
NULL,
|
||||
SymFunctionTableAccess64,
|
||||
SymGetModuleBase,
|
||||
SymGetModuleBase64,
|
||||
NULL))
|
||||
{
|
||||
thread->frames[thread->n_frames++] = frame.AddrPC.Offset;
|
||||
|
@ -643,7 +643,7 @@ gimp_backtrace_get_address_info (guintptr address,
|
|||
gboolean result = FALSE;
|
||||
|
||||
hProcess = GetCurrentProcess ();
|
||||
hModule = (HMODULE) SymGetModuleBase (hProcess, address);
|
||||
hModule = (HMODULE) (guintptr) SymGetModuleBase64 (hProcess, address);
|
||||
|
||||
if (hModule && GetModuleFileNameExA (hProcess, hModule,
|
||||
info->object_name,
|
||||
|
|
Loading…
Reference in New Issue