diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-02-15 21:50:06 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-02-15 22:04:20 +0200 |
commit | 41da237dfb5a6c590877fd58c6a3d78eb7d5bc29 (patch) | |
tree | 6f0ec08f799ebfe20dd47962b2669466ea223520 | |
parent | 3d3835973c18e94bf0165167e78851d34f26a048 (diff) |
WaE: loplugin:cstylecast
Change-Id: I96bda48eb553f467fcf5d7120561d2160647e3bb
-rw-r--r-- | smoketest/libtest.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/libtest.cxx b/smoketest/libtest.cxx index 550ff8b9d346..56996830b482 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() ); |