app: fix wrong fix to gimpbacktrace-windows.c

This fixes commit 468f3e84d8.
This commit is contained in:
Ell 2020-01-07 22:15:12 +02:00
parent 095e8299a0
commit c93e5a2eae
1 changed files with 2 additions and 2 deletions

View File

@ -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,