mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
gphoto2.ds: Sign-compare warning fix.
This commit is contained in:
parent
d9d8288508
commit
2e9353246b
2 changed files with 3 additions and 3 deletions
|
@ -244,7 +244,7 @@ TW_UINT16 GPHOTO2_RGBResponseSet
|
|||
|
||||
/* UI function */
|
||||
BOOL DoCameraUI(void);
|
||||
HWND TransferringDialogBox(HWND dialog, DWORD progress);
|
||||
HWND TransferringDialogBox(HWND dialog, LONG progress);
|
||||
|
||||
#ifdef HAVE_GPHOTO2
|
||||
/* Helper function for GUI */
|
||||
|
|
|
@ -274,12 +274,12 @@ static INT_PTR CALLBACK ProgressProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
HWND TransferringDialogBox(HWND dialog, DWORD progress)
|
||||
HWND TransferringDialogBox(HWND dialog, LONG progress)
|
||||
{
|
||||
if (!dialog)
|
||||
dialog = CreateDialogW(GPHOTO2_instance,
|
||||
(LPWSTR)MAKEINTRESOURCE(IDD_DIALOG1), NULL, ProgressProc);
|
||||
|
||||
|
||||
if (progress == -1)
|
||||
{
|
||||
EndDialog(dialog,0);
|
||||
|
|
Loading…
Reference in a new issue