diff options
-rw-r--r-- | interface-ncurses.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/interface-ncurses.cpp b/interface-ncurses.cpp index 9d4c4fe..da54c9c 100644 --- a/interface-ncurses.cpp +++ b/interface-ncurses.cpp @@ -327,9 +327,7 @@ InterfaceNCurses::~InterfaceNCurses() */ static void -scintilla_notify(Scintilla *sci, int idFrom, void *_notify, void *user_data) +scintilla_notify(Scintilla *sci, int idFrom, void *notify, void *user_data) { - SCNotification *notify = (SCNotification *)_notify; - - interface.process_notify(notify); + interface.process_notify((SCNotification *)notify); } |