summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-25 12:08:35 +0100
committerValaki <Aron Budea>2017-01-06 19:47:04 +0100
commitd12b87f2dab7ab6381ffe6f01410573c29f658f2 (patch)
tree5499b3decbb2002b59278e53d738295581a24dfe /ucb/source
parent021a4aaafa553fdde52ad3efcfd7befce30a1ebf (diff)
curl 7.50.0 has CURL as typedef struct Curl_easy
Change-Id: I22e5e2cdf78c38087579071c1b1570a8adc7d3c4
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/ftp/ftploaderthread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/ftp/ftploaderthread.cxx b/ucb/source/ucp/ftp/ftploaderthread.cxx
index 25bc26d55428..5d1cfb55e6c9 100644
--- a/ucb/source/ucp/ftp/ftploaderthread.cxx
+++ b/ucb/source/ucp/ftp/ftploaderthread.cxx
@@ -77,7 +77,7 @@ FTPLoaderThread::~FTPLoaderThread() {
CURL* FTPLoaderThread::handle() {
- CURL* ret = osl_getThreadKeyData(m_threadKey);
+ CURL* ret = static_cast<CURL*>(osl_getThreadKeyData(m_threadKey));
if(!ret) {
ret = curl_easy_init();
if (ret != nullptr) {