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 | 3cf5278360fc213f9ce8a1287a81eaaeefd291b6 (patch) | |
| tree | 0510db9ce0bd5118bdfbb495e2ed911bf83d8086 /gtk/ScintillaGTKAccessible.cxx | |
| parent | 1c2893858492ebd547873203d66cfd31f7270fc9 (diff) | |
| download | scintilla-mirror-3cf5278360fc213f9ce8a1287a81eaaeefd291b6.tar.gz | |
Decrease use of casts and replace reinterpret_cast with static_cast.
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); |
