smoketest/libtest.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 41da237dfb5a6c590877fd58c6a3d78eb7d5bc29
Author: Tor Lillqvist <[email protected]>
Date:   Mon Feb 15 21:50:06 2016 +0200

    WaE: loplugin:cstylecast
    
    Change-Id: I96bda48eb553f467fcf5d7120561d2160647e3bb

diff --git a/smoketest/libtest.cxx b/smoketest/libtest.cxx
index 550ff8b..5699683 100644
--- a/smoketest/libtest.cxx
+++ b/smoketest/libtest.cxx
@@ -95,7 +95,7 @@ int main (int argc, char **argv)
             fprintf( stderr, "Failed to link '%s'\n", lok_dlerror() );
             return -1;
         }
-        LokHookPreInit *preinit = (LokHookPreInit *) lok_dlsym( dlhandle, 
"lok_preinit" );
+        LokHookPreInit *preinit = reinterpret_cast<LokHookPreInit 
*>(lok_dlsym( dlhandle, "lok_preinit" ));
         if( !preinit )
         {
             fprintf( stderr, "Failed to find pre-init symbol: %s\n", 
lok_dlerror() );
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to