mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 11:02:48 -05:00
Add a cast to fix a warning.
This fixes compilation with Gtk 2 with -Werror. Problem introduced by
64221972c
.
This commit is contained in:
@ -1935,7 +1935,7 @@ gboolean scroll_event(GtkWidget *widget, GdkEventScroll *event, gpointer data)
|
||||
event_button->x_root = event->x_root;
|
||||
event_button->y_root = event->y_root;
|
||||
ret = button_internal(inst, event_button);
|
||||
gdk_event_free(event_button);
|
||||
gdk_event_free((GdkEvent *)event_button);
|
||||
return ret;
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user