From f6ec07a3963a401dc736baa9bdd2ed3c7325bb66 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 8 Jun 2015 16:29:41 +0200 Subject: loplugin:cstylecast: deal with remaining pointer casts Change-Id: I07bf1403e6b992807541a499b786d47f835b2f81 --- vcl/unx/gtk/app/gtkdata.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/unx/gtk/app') diff --git a/vcl/unx/gtk/app/gtkdata.cxx b/vcl/unx/gtk/app/gtkdata.cxx index df1546ac9e43..df4470ba09ba 100644 --- a/vcl/unx/gtk/app/gtkdata.cxx +++ b/vcl/unx/gtk/app/gtkdata.cxx @@ -964,7 +964,7 @@ void GtkData::PostUserEvent() g_source_set_priority (m_pUserEvent, G_PRIORITY_HIGH); g_source_set_can_recurse (m_pUserEvent, TRUE); g_source_set_callback (m_pUserEvent, call_userEventFn, - (gpointer) this, NULL); + static_cast(this), NULL); g_source_attach (m_pUserEvent, g_main_context_default ()); } } -- cgit v1.2.3