Source

nsis64 / Contrib / nsDialogs / nsDialogs.c

Diff from to

Contrib/nsDialogs/nsDialogs.c

   return &g_dialog.controls[id - 1];
 }
 
-BOOL CALLBACK ParentProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
+LRESULT CALLBACK ParentProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
 {
-  BOOL res;
+  LRESULT res;
 
   if (message == WM_NOTIFY_OUTER_NEXT)
   {
   return CallWindowProc(ctl->oldWndProc, hwnd, message, wParam, lParam);
 }
 
-BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
 {
   switch (uMsg)
   {