From ee6f45577add798864ac1d62542239d8539d1bdc Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sun, 15 Nov 2015 20:13:52 +0300 Subject: [PATCH] (edit_drop_menu_cmd): fix -Wsign-conversion warning. Signed-off-by: Andrew Borodin --- src/editor/editmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/editmenu.c b/src/editor/editmenu.c index 7e1d49d79..2ba3542bb 100644 --- a/src/editor/editmenu.c +++ b/src/editor/editmenu.c @@ -274,7 +274,7 @@ edit_drop_menu_cmd (WDialog * h, int which) menubar->is_active = TRUE; menubar->is_dropped = (drop_menus != 0); if (which >= 0) - menubar->selected = which; + menubar->selected = (guint) which; menubar->previous_widget = dlg_get_current_widget_id (h); dlg_select_widget (menubar);