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 /plugins/Watrack_MPD | |
parent | 62a186697df33c96dc1a6dac0f4dfc38652fb96f (diff) |
WORD -> uint16_t
Diffstat (limited to 'plugins/Watrack_MPD')
-rwxr-xr-x | plugins/Watrack_MPD/src/init.cpp | 2 | ||||
-rwxr-xr-x | plugins/Watrack_MPD/src/options.cpp | 2 | ||||
-rwxr-xr-x | plugins/Watrack_MPD/src/stdafx.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Watrack_MPD/src/init.cpp b/plugins/Watrack_MPD/src/init.cpp index 381769f8ef..9d8b044a07 100755 --- a/plugins/Watrack_MPD/src/init.cpp +++ b/plugins/Watrack_MPD/src/init.cpp @@ -20,7 +20,7 @@ CMPlugin g_plugin; BOOL bWatrackService = FALSE;
wchar_t *gbHost, *gbPassword;
-WORD gbPort;
+uint16_t gbPort;
HNETLIBUSER ghNetlibUser;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/Watrack_MPD/src/options.cpp b/plugins/Watrack_MPD/src/options.cpp index a83003f9e0..a3d95ffec3 100755 --- a/plugins/Watrack_MPD/src/options.cpp +++ b/plugins/Watrack_MPD/src/options.cpp @@ -33,7 +33,7 @@ public: bool OnApply() override { - g_plugin.setWord("Port", (WORD)edit_PORT.GetInt()); + g_plugin.setWord("Port", (uint16_t)edit_PORT.GetInt()); gbPort = edit_PORT.GetInt(); g_plugin.setWString("Server", edit_SERVER.GetText()); mir_wstrcpy(gbHost, edit_SERVER.GetText()); diff --git a/plugins/Watrack_MPD/src/stdafx.h b/plugins/Watrack_MPD/src/stdafx.h index fddc052a34..2aa2688d31 100755 --- a/plugins/Watrack_MPD/src/stdafx.h +++ b/plugins/Watrack_MPD/src/stdafx.h @@ -44,7 +44,7 @@ struct CMPlugin : public PLUGIN<CMPlugin> extern HNETLIBUSER ghNetlibUser;
extern BOOL bWatrackService;
extern wchar_t *gbHost, *gbPassword;
-extern WORD gbPort;
+extern uint16_t gbPort;
extern int WaMpdOptInit(WPARAM, LPARAM);
extern void RegisterPlayer();
|