From 17b36d3bec957bd2e3ff74f828bb44bbed56be95 Mon Sep 17 00:00:00 2001 From: Michael Schumacher Date: Sat, 19 Dec 2009 09:29:07 +0100 Subject: [PATCH] Fix some compile warnings on Microsoft Windows Added WPARAM and LPARAM cast to SendMessage arguments 3 and 4. --- app/unique.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/unique.c b/app/unique.c index 836e88c80d..8037dfd5f0 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;