diff options
-rw-r--r-- | mate-volume-control/gvc-mixer-dialog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mate-volume-control/gvc-mixer-dialog.c b/mate-volume-control/gvc-mixer-dialog.c index ed0e40b..759995b 100644 --- a/mate-volume-control/gvc-mixer-dialog.c +++ b/mate-volume-control/gvc-mixer-dialog.c @@ -1796,12 +1796,12 @@ dialog_accel_cb (GtkAccelGroup *accelgroup, GdkModifierType mod, GvcMixerDialog *self) { - gint num = -1; - gint i; + gint num = -1; + gsize i; for (i = 0; i < G_N_ELEMENTS (tab_accel_keys); i++) { if (tab_accel_keys[i] == key) { - num = i; + num = (gint) i; break; } } @@ -1944,7 +1944,7 @@ gvc_mixer_dialog_constructor (GType type, GtkTreeSelection *selection; GtkAccelGroup *accel_group; GtkTreeIter iter; - gint i; + gsize i; const GList *list; GClosure *closure = NULL; |