Commit 2e935324 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

gphoto2.ds: Sign-compare warning fix.

parent d9d82885
...@@ -244,7 +244,7 @@ TW_UINT16 GPHOTO2_RGBResponseSet ...@@ -244,7 +244,7 @@ TW_UINT16 GPHOTO2_RGBResponseSet
/* UI function */ /* UI function */
BOOL DoCameraUI(void); BOOL DoCameraUI(void);
HWND TransferringDialogBox(HWND dialog, DWORD progress); HWND TransferringDialogBox(HWND dialog, LONG progress);
#ifdef HAVE_GPHOTO2 #ifdef HAVE_GPHOTO2
/* Helper function for GUI */ /* Helper function for GUI */
......
...@@ -274,12 +274,12 @@ static INT_PTR CALLBACK ProgressProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM ...@@ -274,12 +274,12 @@ static INT_PTR CALLBACK ProgressProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
return FALSE; return FALSE;
} }
HWND TransferringDialogBox(HWND dialog, DWORD progress) HWND TransferringDialogBox(HWND dialog, LONG progress)
{ {
if (!dialog) if (!dialog)
dialog = CreateDialogW(GPHOTO2_instance, dialog = CreateDialogW(GPHOTO2_instance,
(LPWSTR)MAKEINTRESOURCE(IDD_DIALOG1), NULL, ProgressProc); (LPWSTR)MAKEINTRESOURCE(IDD_DIALOG1), NULL, ProgressProc);
if (progress == -1) if (progress == -1)
{ {
EndDialog(dialog,0); EndDialog(dialog,0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment