desktop/inc/lib/init.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit cf2cff00de75baa2d5be27ad032d0fa4d5cfb578 Author: Tor Lillqvist <t...@collabora.com> Date: Sun May 8 09:07:10 2016 +0300 loplugin:redundantcast Reinterpret_cast from 'void *' to 'desktop::CallbackFlushHandler *' can be simplified to static_cast. Change-Id: I648e91d0ca234162833f19595ae60838f81963bc diff --git a/desktop/inc/lib/init.hxx b/desktop/inc/lib/init.hxx index 5c987be..b887807 100644 --- a/desktop/inc/lib/init.hxx +++ b/desktop/inc/lib/init.hxx @@ -62,7 +62,7 @@ namespace desktop { static void callback(const int type, const char* payload, void* data) { - CallbackFlushHandler* self = reinterpret_cast<CallbackFlushHandler*>(data); + CallbackFlushHandler* self = static_cast<CallbackFlushHandler*>(data); if (self) { self->queue(type, payload); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits