diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 17:06:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 17:06:04 +0300 |
commit | 1039b2829a264280493ba0fa979214fe024dc70c (patch) | |
tree | 8fa6a60eb46627582c372b56a4a1d4754d6732c3 /protocols/Non-IM Contact/src/files.cpp | |
parent | 62a186697df33c96dc1a6dac0f4dfc38652fb96f (diff) |
WORD -> uint16_t
Diffstat (limited to 'protocols/Non-IM Contact/src/files.cpp')
-rw-r--r-- | protocols/Non-IM Contact/src/files.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Non-IM Contact/src/files.cpp b/protocols/Non-IM Contact/src/files.cpp index 17a11edd3c..76302f3b9f 100644 --- a/protocols/Non-IM Contact/src/files.cpp +++ b/protocols/Non-IM Contact/src/files.cpp @@ -193,7 +193,7 @@ INT_PTR CALLBACK DlgProcFiles(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) timer = atoi(text); } mir_snprintf(fn, "fn%d_timer", i); - g_plugin.setWord(fn, (WORD)timer); + g_plugin.setWord(fn, (uint16_t)timer); SendMessage(hwnd, WM_RELOADWINDOW, 0, 0); } break; @@ -302,7 +302,7 @@ INT_PTR CALLBACK DlgProcFiles(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) if (!db_get_static(NULL, MODNAME, fn, string, _countof(string))) if (!strncmp("http://", string, mir_strlen("http://")) || !strncmp("https://", string, mir_strlen("https://"))) { mir_snprintf(fn, "fn%d_timer", i); - g_plugin.setWord(fn, (WORD)timer); + g_plugin.setWord(fn, (uint16_t)timer); } return TRUE; |