summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-27 11:14:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-27 11:14:02 +0000
commit3e7ae9b675187052136075ea8ebfbad98673210b (patch)
tree82d3e2c5f9dd3488eb4ec8ecf766297b7bc2c9c8 /plugins/Dropbox/src/dropbox.cpp
parent2e51a3103f26ca7a9fec8f96baf56f4d51fd0112 (diff)
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@8284 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox.cpp')
-rw-r--r--plugins/Dropbox/src/dropbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dropbox/src/dropbox.cpp b/plugins/Dropbox/src/dropbox.cpp
index 3498680c24..64fc3bfae3 100644
--- a/plugins/Dropbox/src/dropbox.cpp
+++ b/plugins/Dropbox/src/dropbox.cpp
@@ -59,7 +59,7 @@ void CDropbox::RequestAcceessToken()
HttpRequest *request = new HttpRequest(hNetlibUser, REQUEST_POST, DROPBOX_API_URL "/oauth2/token");
request->pData = mir_strdup(data);
- request->dataLength = strlen(data);
+ request->dataLength = (int)strlen(data);
request->AddHeader("Content-Type", "application/x-www-form-urlencoded");
request->AddBasicAuthHeader(DROPBOX_API_KEY, DROPBOX_API_SECRET);