From c17461377eae8aee6fc129abc6b11a8811a59a85 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Wed, 2 May 2018 08:52:00 +1000 Subject: Backport: Decrease use of casts and replace reinterpret_cast with static_cast. Backport of changeset 6782:8b447827f7a6. --- gtk/ScintillaGTKAccessible.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/ScintillaGTKAccessible.cxx') diff --git a/gtk/ScintillaGTKAccessible.cxx b/gtk/ScintillaGTKAccessible.cxx index 98c8106f1..ffcba5608 100644 --- a/gtk/ScintillaGTKAccessible.cxx +++ b/gtk/ScintillaGTKAccessible.cxx @@ -761,7 +761,7 @@ void ScintillaGTKAccessible::PasteText(int charPosition) { } static void TextReceivedCallback(GtkClipboard *clipboard, const gchar *text, gpointer data) { - Helper *helper = reinterpret_cast(data); + Helper *helper = static_cast(data); try { if (helper->scia != 0) { helper->TextReceived(clipboard, text); -- cgit v1.2.3