diff options
author | rbuj <[email protected]> | 2022-03-16 10:41:04 +0100 |
---|---|---|
committer | mbkma <[email protected]> | 2022-03-18 20:53:39 +0100 |
commit | cc7a4cfe09b8df0c8db4944e95130e6c42b68b7f (patch) | |
tree | c08ff7e825a7bbcd3b2803cfdfd1926da1851bc5 /mate-volume-control/gvc-mixer-dialog.c | |
parent | f30cde18e407e329ec986da536d8149800e2213a (diff) | |
download | mate-media-cc7a4cfe09b8df0c8db4944e95130e6c42b68b7f.tar.bz2 mate-media-cc7a4cfe09b8df0c8db4944e95130e6c42b68b7f.tar.xz |
gvc-mixer-dialog: fix build warning -Wsign-compare
Diffstat (limited to 'mate-volume-control/gvc-mixer-dialog.c')
-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; |