Kill some compiler warnings under Linux and mingw32
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4994 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
edeb26b7a7
commit
747ad310e5
25 changed files with 37 additions and 37 deletions
|
@ -668,7 +668,7 @@ BOOL CALLBACK DlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
case WM_DROPFILES:
|
||||
{
|
||||
char dropped_file[MAX_PATH]="";
|
||||
if (DragQueryFile((HDROP)wParam,-1,NULL,0)==1)
|
||||
if (DragQueryFile((HDROP)wParam,(UINT)-1,NULL,0)==1)
|
||||
{
|
||||
DragQueryFile((HDROP)wParam,0,dropped_file,MAX_PATH);
|
||||
if (lstrlen(dropped_file)>0)
|
||||
|
@ -784,4 +784,4 @@ BOOL CALLBACK DlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
break;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue