From 62a186697df33c96dc1a6dac0f4dfc38652fb96f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Dec 2021 16:39:04 +0300 Subject: BYTE -> uint8_t --- plugins/FTPFileYM/src/options.cpp | 2 +- plugins/FTPFileYM/src/options.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/FTPFileYM/src') diff --git a/plugins/FTPFileYM/src/options.cpp b/plugins/FTPFileYM/src/options.cpp index f07e1d8168..10a4ed3716 100644 --- a/plugins/FTPFileYM/src/options.cpp +++ b/plugins/FTPFileYM/src/options.cpp @@ -106,7 +106,7 @@ INT_PTR CALLBACK Options::DlgProcOptsAccounts(HWND hwndDlg, UINT msg, WPARAM wPa } else if (HIWORD(wParam) == CBN_SELCHANGE) { if (LOWORD(wParam) == IDC_FTPLIST) { - opt.selected = (BYTE)ComboBox_GetCurSel(GetDlgItem(hwndDlg, IDC_FTPLIST)); + opt.selected = (uint8_t)ComboBox_GetCurSel(GetDlgItem(hwndDlg, IDC_FTPLIST)); CheckDlgButton(hwndDlg, IDC_DEFAULT, opt.selected == opt.defaultFTP ? BST_CHECKED : BST_UNCHECKED); ServerList::FTP *ftp = ftpList.getSelected(); diff --git a/plugins/FTPFileYM/src/options.h b/plugins/FTPFileYM/src/options.h index 0c4051cf21..0179aca360 100644 --- a/plugins/FTPFileYM/src/options.h +++ b/plugins/FTPFileYM/src/options.h @@ -30,8 +30,8 @@ struct Options TR_DAYS }; - BYTE selected; - BYTE defaultFTP; + uint8_t selected; + uint8_t defaultFTP; bool bCloseDlg; bool bCopyLink; bool bAutosend; -- cgit v1.2.3