summaryrefslogtreecommitdiff
path: root/protocols/CloudFile/src/Services/yandex_service.cpp
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 /protocols/CloudFile/src/Services/yandex_service.cpp
parentfcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 (diff)
BYTE -> uint8_t
Diffstat (limited to 'protocols/CloudFile/src/Services/yandex_service.cpp')
-rw-r--r--protocols/CloudFile/src/Services/yandex_service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/CloudFile/src/Services/yandex_service.cpp b/protocols/CloudFile/src/Services/yandex_service.cpp
index 816e6ea5e4..739d8a2722 100644
--- a/protocols/CloudFile/src/Services/yandex_service.cpp
+++ b/protocols/CloudFile/src/Services/yandex_service.cpp
@@ -167,7 +167,7 @@ void CYandexService::HandleJsonError(JSONNode &node)
auto CYandexService::CreateUploadSession(const std::string &path)
{
ptrA token(getStringA("TokenSecret"));
- BYTE strategy = g_plugin.getByte("ConflictStrategy", OnConflict::REPLACE);
+ uint8_t strategy = g_plugin.getByte("ConflictStrategy", OnConflict::REPLACE);
YandexAPI::GetUploadUrlRequest request(token, path.c_str(), (OnConflict)strategy);
NLHR_PTR response(request.Send(m_hConnection));