Commit c93e5a2e authored by Ell's avatar Ell

app: fix wrong fix to gimpbacktrace-windows.c

This fixes commit 468f3e84.
parent 095e8299
Pipeline #141772 passed with stages
in 30 minutes and 27 seconds
......@@ -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,
......
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