gphoto2.ds: Sign-compare warning fix.

This commit is contained in:
Andrew Talbot 2008-08-04 22:39:16 +01:00 committed by Alexandre Julliard
parent d9d8288508
commit 2e9353246b
2 changed files with 3 additions and 3 deletions

View File

@ -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 */

View File

@ -274,7 +274,7 @@ 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,