Fix some compile warnings on Microsoft Windows

Added WPARAM and LPARAM cast to SendMessage arguments 3 and 4.
This commit is contained in:
Michael Schumacher 2009-12-19 09:29:07 +01:00
parent 0902cd4136
commit 17b36d3bec
1 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ gimp_unique_win32_open (const gchar **filenames,
copydata.dwData = (long) as_new;
SendMessage (window_handle,
WM_COPYDATA, window_handle, &copydata);
WM_COPYDATA, (WPARAM) window_handle, (LPARAM) &copydata);
}
else
{
@ -225,7 +225,7 @@ gimp_unique_win32_open (const gchar **filenames,
else
{
SendMessage (window_handle,
WM_COPYDATA, window_handle, &copydata);
WM_COPYDATA, (WPARAM) window_handle, (LPARAM) &copydata);
}
return TRUE;