summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-25 12:08:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-25 12:09:03 +0100
commit0b8e589875ffd84150470832de18ebd79989efc0 (patch)
treed91a5e59dade8d4fa6435c4b6131304802aeee6a /ucb
parent8e3eb727957aaed4af5f6945a205a9d18a69dc42 (diff)
curl 7.50.0 has CURL as typedef struct Curl_easy
Change-Id: I22e5e2cdf78c38087579071c1b1570a8adc7d3c4
Diffstat (limited to 'ucb')
-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 be68d9a24fd2..315ccb79e7fa 100644
--- a/ucb/source/ucp/ftp/ftploaderthread.cxx
+++ b/ucb/source/ucp/ftp/ftploaderthread.cxx
@@ -71,7 +71,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) {