summaryrefslogtreecommitdiffstats
path: root/x11/gnome-applets/files/patch-mixer_applet.c
blob: d7c0eb5178338588ba25949013474a8a9ddf9bae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- mixer/applet.c.orig Mon Nov  7 09:53:52 2005
+++ mixer/applet.c  Mon Nov 28 01:16:50 2005
@@ -953,7 +953,7 @@ gnome_volume_applet_adjust_volume (GstMi
 
   volumes = g_new (gint, track->num_channels);
   for (n = 0; n < track->num_channels; n++)
-    volumes[n] = lrint (volume);
+    volumes[n] = (int) rint (volume);
   gst_mixer_set_volume (mixer, track, volumes);
   g_free (volumes);
 }