Revision: 10010 https://osdn.net/projects/ttssh2/scm/svn/commits/10010 Author: zmatsuo Date: 2022-06-24 23:03:07 +0900 (Fri, 24 Jun 2022) Log Message: ----------- プロトタイプ誤り修正 - DialogBoxParam() の引数 DLGPROC の戻り値を誤っていた - UINT_PTR -> INT_PTR Modified Paths: -------------- trunk/ttssh2/ttxssh/fwdui.c -------------- next part -------------- Modified: trunk/ttssh2/ttxssh/fwdui.c =================================================================== --- trunk/ttssh2/ttxssh/fwdui.c 2022-06-23 23:59:07 UTC (rev 10009) +++ trunk/ttssh2/ttxssh/fwdui.c 2022-06-24 14:03:07 UTC (rev 10010) @@ -984,7 +984,7 @@ static void add_forwarding_entry(PTInstVar pvar, HWND dlg) { FWDRequestSpec new_spec; - int result; + INT_PTR result; FWDEditClosure closure = { &new_spec, pvar }; new_spec.type = FWD_LOCAL_TO_REMOTE; @@ -1023,7 +1023,7 @@ if (spec != NULL) { FWDEditClosure closure = { spec, pvar }; - int result = + INT_PTR result = DialogBoxParam(hInst, MAKEINTRESOURCE(IDD_SSHFWDEDIT), dlg, fwd_edit_dlg_proc, (LPARAM) & closure);