bridges/source/cpp_uno/gcc3_linux_aarch64/cpp2uno.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 2dfeb5282c4ad18ece2df11623a10510178fcfbc Author: tml <[email protected]> AuthorDate: Fri Jan 2 14:39:22 2026 +0200 Commit: Caolán McNamara <[email protected]> CommitDate: Fri Jan 2 14:52:19 2026 +0100 Silence loplugin: Use reinterpret_cast instead of C-style cast Signed-off-by: tml <[email protected]> Change-Id: Id15ec139dd7845a0a58d1120edc4c4c7de939048 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196422 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> diff --git a/bridges/source/cpp_uno/gcc3_linux_aarch64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_aarch64/cpp2uno.cxx index 669c4443c5f0..18849018b4e3 100644 --- a/bridges/source/cpp_uno/gcc3_linux_aarch64/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_aarch64/cpp2uno.cxx @@ -585,8 +585,8 @@ void bridges::cpp_uno::shared::VtableFactory::flushCode( { #if !defined ANDROID && !defined MACOSX static void (*clear_cache)(unsigned char const *, unsigned char const *) - = (void (*)(unsigned char const *, unsigned char const *)) dlsym( - RTLD_DEFAULT, "__clear_cache"); + = reinterpret_cast<void (*)(unsigned char const *, unsigned char const *)>(dlsym( + RTLD_DEFAULT, "__clear_cache")); (*clear_cache)(begin, end); #else // GCC clarified with
