https://bugs.documentfoundation.org/show_bug.cgi?id=101186

            Bug ID: 101186
           Summary: [patch] Build failure in
                    ucb/source/ucp/ftp/ftploaderthread.cxx: error: invalid
                    conversion from 'void*' to 'CURL* {aka Curl_easy*}'
           Product: LibreOffice
           Version: 5.1.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Installation
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 126460
  --> https://bugs.documentfoundation.org/attachment.cgi?id=126460&action=edit
trivial patch, making type conversion explicit

When building libreoffice 5.2.4.2, I ran into the following problem:

/var/tmp/paludis/build/app-office-libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/ucb/source/ucp/ftp/ftploaderthread.cxx:
In member function 'CURL* ftp::FTPLoaderThread::handle()':
/var/tmp/paludis/build/app-office-libreoffice-5.1.4.2/work/libreoffice-5.1.4.2/ucb/source/ucp/ftp/ftploaderthread.cxx:82:37:
error: invalid conversion from 'void*' to 'CURL* {aka Curl_easy*}'
[-fpermissive]
     CURL* ret = osl_getThreadKeyData(m_threadKey);
                                     ^
The simple solution is to make the type conversion explicit. See the attached
patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to