summaryrefslogtreecommitdiff
path: root/gtk/gtkrange.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkrange.c')
-rw-r--r--gtk/gtkrange.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index c6fb78efad..75d4126e15 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -2219,7 +2219,7 @@ autoscroll_cb (GtkWidget *widget,
step = gtk_adjustment_get_step_increment (adj);
page = gtk_adjustment_get_page_increment (adj);
- switch (priv->autoscroll_mode)
+ switch ((guint) priv->autoscroll_mode)
{
case GTK_SCROLL_STEP_FORWARD:
increment = step / AUTOSCROLL_FACTOR;
@@ -2655,6 +2655,7 @@ gtk_range_scroll (GtkRange *range,
break;
case GTK_SCROLL_NONE:
+ default:
break;
}