[gimp] Fix cast to pointer from integer of different size warning on gimpbacktrace-windows.c
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Fix cast to pointer from integer of different size warning on gimpbacktrace-windows.c
- Date: Sun, 1 Dec 2019 01:12:32 +0000 (UTC)
commit 468f3e84d85349185db4d5530ca62abba60c7672
Author: lillolollo <4179-lillolollo users noreply gitlab gnome org>
Date: Fri Nov 29 23:34:22 2019 +0000
Fix cast to pointer from integer of different size warning on gimpbacktrace-windows.c
app/core/gimpbacktrace-windows.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimpbacktrace-windows.c b/app/core/gimpbacktrace-windows.c
index 5968f70012..d652fcf8b5 100644
--- a/app/core/gimpbacktrace-windows.c
+++ b/app/core/gimpbacktrace-windows.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]