summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/CloudFile/src/Services/dropbox_service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CloudFile/src/Services/dropbox_service.cpp b/plugins/CloudFile/src/Services/dropbox_service.cpp
index 1feeddce47..10fbf7ef40 100644
--- a/plugins/CloudFile/src/Services/dropbox_service.cpp
+++ b/plugins/CloudFile/src/Services/dropbox_service.cpp
@@ -196,7 +196,7 @@ void CDropboxService::CreateSharedLink(const char *path, char *url)
root = GetJsonResponse(response);
JSONNode links = root.at("links").as_array();
- JSONNode link = links[0u].at("url");
+ JSONNode link = links[(size_t)0].at("url");
mir_strcpy(url, link.as_string().c_str());
}