summaryrefslogtreecommitdiff
path: root/plugins/WhoUsesMyFiles/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 16:39:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 16:39:04 +0300
commit62a186697df33c96dc1a6dac0f4dfc38652fb96f (patch)
tree1437d0906218fae8827aed384026f2b7e656f4ac /plugins/WhoUsesMyFiles/src
parentfcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 (diff)
BYTE -> uint8_t
Diffstat (limited to 'plugins/WhoUsesMyFiles/src')
-rw-r--r--plugins/WhoUsesMyFiles/src/options.cpp20
-rw-r--r--plugins/WhoUsesMyFiles/src/wumfplug.cpp2
2 files changed, 11 insertions, 11 deletions
diff --git a/plugins/WhoUsesMyFiles/src/options.cpp b/plugins/WhoUsesMyFiles/src/options.cpp
index 7eec90b2f9..0373326b8b 100644
--- a/plugins/WhoUsesMyFiles/src/options.cpp
+++ b/plugins/WhoUsesMyFiles/src/options.cpp
@@ -225,16 +225,16 @@ INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg,UINT msg,WPARAM wparam,LPARAM lpara
case PSN_APPLY:
g_plugin.setDword(COLOR_TEXT, (DWORD)WumfOptions.ColorText);
g_plugin.setDword(COLOR_BACK, (DWORD)WumfOptions.ColorBack);
- g_plugin.setByte(COLOR_DEF, (BYTE)WumfOptions.UseDefColor);
- g_plugin.setByte(COLOR_WIN, (BYTE)WumfOptions.UseWinColor);
- g_plugin.setByte(COLOR_SET, (BYTE)WumfOptions.SelectColor );
- g_plugin.setByte(DELAY_DEF, (BYTE)WumfOptions.DelayDef);
- g_plugin.setByte(DELAY_INF, (BYTE)WumfOptions.DelayInf);
- g_plugin.setByte(DELAY_SET, (BYTE)WumfOptions.DelaySet);
- g_plugin.setByte(DELAY_SEC, (BYTE)WumfOptions.DelaySec);
- g_plugin.setByte(LOG_INTO_FILE, (BYTE)WumfOptions.LogToFile);
- g_plugin.setByte(LOG_FOLDER, (BYTE)WumfOptions.LogFolders);
- g_plugin.setByte(ALERT_FOLDER, (BYTE)WumfOptions.AlertFolders);
+ g_plugin.setByte(COLOR_DEF, (uint8_t)WumfOptions.UseDefColor);
+ g_plugin.setByte(COLOR_WIN, (uint8_t)WumfOptions.UseWinColor);
+ g_plugin.setByte(COLOR_SET, (uint8_t)WumfOptions.SelectColor );
+ g_plugin.setByte(DELAY_DEF, (uint8_t)WumfOptions.DelayDef);
+ g_plugin.setByte(DELAY_INF, (uint8_t)WumfOptions.DelayInf);
+ g_plugin.setByte(DELAY_SET, (uint8_t)WumfOptions.DelaySet);
+ g_plugin.setByte(DELAY_SEC, (uint8_t)WumfOptions.DelaySec);
+ g_plugin.setByte(LOG_INTO_FILE, (uint8_t)WumfOptions.LogToFile);
+ g_plugin.setByte(LOG_FOLDER, (uint8_t)WumfOptions.LogFolders);
+ g_plugin.setByte(ALERT_FOLDER, (uint8_t)WumfOptions.AlertFolders);
GetDlgItemText(hwndDlg, IDC_FILE, WumfOptions.LogFile, _countof(WumfOptions.LogFile));
g_plugin.setWString(OPT_FILE, WumfOptions.LogFile);
}
diff --git a/plugins/WhoUsesMyFiles/src/wumfplug.cpp b/plugins/WhoUsesMyFiles/src/wumfplug.cpp
index 60444a7efd..f5ae72ebb6 100644
--- a/plugins/WhoUsesMyFiles/src/wumfplug.cpp
+++ b/plugins/WhoUsesMyFiles/src/wumfplug.cpp
@@ -190,7 +190,7 @@ static INT_PTR WumfMenuCommand(WPARAM, LPARAM)
Menu_ModifyItem(hMenuItem, LPGENW("Disable WUMF popups"), Skin_GetIconHandle(SKINICON_OTHER_POPUP));
}
- g_plugin.setByte(POPUPS_ENABLED, (BYTE)WumfOptions.PopupsEnabled);
+ g_plugin.setByte(POPUPS_ENABLED, (uint8_t)WumfOptions.PopupsEnabled);
return 0;
}