desktop/source/lib/init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 10c9f31ad7d0696327b67b6d2a4e3f244473d877 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Jan 19 22:05:00 2016 +0100 loplugin:cstylecast Change-Id: Ib4052fa88cce3b21d20d050fff9c8d32fcde4c20 diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index d2b4f60..6b8f369 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -1576,7 +1576,7 @@ static char* lo_getError (LibreOfficeKit *pThis) } static void lo_freeError(const char *pfree) { - free((void *) pfree); + free(const_cast<char *>(pfree)); } static char* lo_getFilterTypes(LibreOfficeKit* pThis) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits