[gimp] libgimpwidgets: fix some "incompatible pointer type" warnings on Win32.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimpwidgets: fix some "incompatible pointer type" warnings on Win32.
- Date: Thu, 2 Jun 2016 18:42:22 +0000 (UTC)
commit 2fae5d7d8bc9508c716389164075f88b6c7f57cb
Author: Jehan <jehan girinstud io>
Date: Thu Jun 2 20:38:20 2016 +0200
libgimpwidgets: fix some "incompatible pointer type" warnings on Win32.
Thanks nmat for reporting the warning.
libgimpwidgets/gimpwidgetsutils.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgimpwidgets/gimpwidgetsutils.c b/libgimpwidgets/gimpwidgetsutils.c
index 37fd73f..f5976bc 100644
--- a/libgimpwidgets/gimpwidgetsutils.c
+++ b/libgimpwidgets/gimpwidgetsutils.c
@@ -558,10 +558,10 @@ gimp_widget_get_color_profile (GtkWidget *widget)
gchar *path;
gint32 len = 0;
- GetICMProfile (hdc, &len, NULL);
+ GetICMProfile (hdc, (LPDWORD) &len, NULL);
path = g_new (gchar, len);
- if (GetICMProfile (hdc, &len, path))
+ if (GetICMProfile (hdc, (LPDWORD) &len, path))
{
GFile *file = g_file_new_for_path (path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]