Commit 468f3e84 authored by lillolollo's avatar lillolollo Committed by Jehan

Fix cast to pointer from integer of different size warning on gimpbacktrace-windows.c

parent c6a494e5
Pipeline #134795 passed with stages
in 24 minutes and 54 seconds
......@@ -461,7 +461,7 @@ gimp_backtrace_new (gboolean include_current_thread)
StackWalk64 (machine_type, hProcess, hThread, &frame, &context,
NULL,
SymFunctionTableAccess64,
SymGetModuleBase64,
SymGetModuleBase,
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) SymGetModuleBase64 (hProcess, address);
hModule = (HMODULE) SymGetModuleBase (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