mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-28 23:34:49 -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:
parent
230f7d5628
commit
b566c5f125
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user