[gimp] Fix some compile warnings on Microsoft Windows
- From: Michael Schumacher <schumaml src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Fix some compile warnings on Microsoft Windows
- Date: Wed, 6 Jan 2010 13:13:55 +0000 (UTC)
commit 17b36d3bec957bd2e3ff74f828bb44bbed56be95
Author: Michael Schumacher <schumaml gmx de>
Date: Sat Dec 19 09:29:07 2009 +0100
Fix some compile warnings on Microsoft Windows
Added WPARAM and LPARAM cast to SendMessage arguments 3 and 4.
app/unique.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/unique.c b/app/unique.c
index 836e88c..8037dfd 100644
--- a/app/unique.c
+++ b/app/unique.c
@@ -211,7 +211,7 @@ gimp_unique_win32_open (const gchar **filenames,
copydata.dwData = (long) as_new;
SendMessage (window_handle,
- WM_COPYDATA, window_handle, ©data);
+ WM_COPYDATA, (WPARAM) window_handle, (LPARAM) ©data);
}
else
{
@@ -225,7 +225,7 @@ gimp_unique_win32_open (const gchar **filenames,
else
{
SendMessage (window_handle,
- WM_COPYDATA, window_handle, ©data);
+ WM_COPYDATA, (WPARAM) window_handle, (LPARAM) ©data);
}
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]