diff options
author | Neil Hodgson <unknown> | 2018-05-02 08:52:00 +1000 |
---|---|---|
committer | Neil Hodgson <unknown> | 2018-05-02 08:52:00 +1000 |
commit | c17461377eae8aee6fc129abc6b11a8811a59a85 (patch) | |
tree | f7f7955a139b7abf7c6b869418f0d5dda1ab8b10 /gtk/ScintillaGTKAccessible.cxx | |
parent | 13076f92442dd146095e482c27480031d76e446f (diff) | |
download | scintilla-mirror-c17461377eae8aee6fc129abc6b11a8811a59a85.tar.gz |
Backport: Decrease use of casts and replace reinterpret_cast with static_cast.
Backport of changeset 6782:8b447827f7a6.
Diffstat (limited to 'gtk/ScintillaGTKAccessible.cxx')
-rw-r--r-- | gtk/ScintillaGTKAccessible.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<Helper*>(data); + Helper *helper = static_cast<Helper*>(data); try { if (helper->scia != 0) { helper->TextReceived(clipboard, text); |