From 277335110789563770af38b2a7ae41736bd9c7a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= Date: Sat, 19 Mar 2022 14:16:27 +0200 Subject: mixer-control: remove unneeded cast Stream id was changed to unsigned int in b7bce3294492. --- gvc-mixer-control.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gvc-mixer-control.c b/gvc-mixer-control.c index 456e6f6..8f48f29 100644 --- a/gvc-mixer-control.c +++ b/gvc-mixer-control.c @@ -1276,7 +1276,7 @@ match_stream_with_devices (GvcMixerControl *control, stream_id); g_object_set (G_OBJECT (device), - "stream-id", (gint)stream_id, + "stream-id", stream_id, NULL); in_possession = TRUE; } @@ -1366,7 +1366,7 @@ sync_devices (GvcMixerControl *control, } g_object_set (G_OBJECT (device), - "stream-id", (gint)gvc_mixer_stream_get_id (stream), + "stream-id", gvc_mixer_stream_get_id (stream), "description", gvc_mixer_stream_get_description (stream), "origin", "", /*Leave it empty for these special cases*/ "port-name", NULL, @@ -1376,7 +1376,7 @@ sync_devices (GvcMixerControl *control, GObject *object; object = g_object_new (GVC_TYPE_MIXER_UI_DEVICE, - "stream-id", (gint)gvc_mixer_stream_get_id (stream), + "stream-id", gvc_mixer_stream_get_id (stream), "description", gvc_mixer_stream_get_description (stream), "origin", "", /* Leave it empty for these special cases */ "port-name", NULL, -- cgit v1.2.1