@@ -111,7 +111,7 @@ char title_str[512];
111111static HWND Multi_gen_dialog = NULL ; // the dialog itself
112112
113113// dialog proc for this dialog
114- BOOL CALLBACK std_gen_dialog_proc (HWND /* hwndDlg*/ , UINT uMsg, WPARAM /* wParam*/ , LPARAM /* lParam*/ )
114+ INT_PTR CALLBACK std_gen_dialog_proc (HWND /* hwndDlg*/ , UINT uMsg, WPARAM /* wParam*/ , LPARAM /* lParam*/ )
115115{
116116 switch (uMsg){
117117 case WM_INITDIALOG:
@@ -483,7 +483,7 @@ int std_connect_lindex_to_npindex(int index)
483483}
484484
485485// message handler for the connect tab
486- BOOL CALLBACK connect_proc (HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam)
486+ INT_PTR CALLBACK connect_proc (HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam)
487487{
488488 switch (uMsg){
489489 // initialize the dialog
@@ -1016,7 +1016,7 @@ HTREEITEM std_multi_get_goal_item(char *goal_string,int type)
10161016}
10171017
10181018// message handler for the multiplayer tab
1019- BOOL CALLBACK multi_proc (HWND hwndDlg,UINT uMsg,WPARAM /* wParam*/ ,LPARAM lParam)
1019+ INT_PTR CALLBACK multi_proc (HWND hwndDlg,UINT uMsg,WPARAM /* wParam*/ ,LPARAM lParam)
10201020{
10211021 switch (uMsg){
10221022 // initialize the page
@@ -1271,7 +1271,7 @@ int std_pinfo_player_is_active(net_player *p)
12711271}
12721272
12731273// message handler for the player info tab
1274- BOOL CALLBACK player_info_proc (HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam)
1274+ INT_PTR CALLBACK player_info_proc (HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam)
12751275{
12761276 int player_num;
12771277 char callsign[40 ];
@@ -1453,7 +1453,7 @@ void std_gs_init_godstuff_controls()
14531453}
14541454
14551455// message handler for the godstuff tab
1456- BOOL CALLBACK godstuff_proc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
1456+ INT_PTR CALLBACK godstuff_proc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
14571457{
14581458 switch (uMsg)
14591459 {
@@ -1607,7 +1607,7 @@ void std_debug_init_debug_controls(HWND hwndDlg)
16071607}
16081608
16091609// message handler for the godstuff tab
1610- BOOL CALLBACK debug_proc (HWND hwndDlg,UINT uMsg,WPARAM /* wParam*/ ,LPARAM lParam)
1610+ INT_PTR CALLBACK debug_proc (HWND hwndDlg,UINT uMsg,WPARAM /* wParam*/ ,LPARAM lParam)
16111611{
16121612 switch (uMsg){
16131613 // initialize the dialog
@@ -2343,7 +2343,7 @@ static void standalone_do_systray(int mode)
23432343}
23442344
23452345// just like the osapi version for the nonstandalone mode of FreeSpace
2346- DWORD standalone_process (WORD /* lparam*/ )
2346+ DWORD standalone_process (LPVOID /* lparam*/ )
23472347{
23482348 MSG msg;
23492349
0 commit comments