From 2d4ca2150069139ab347bddce5a5c9264c1be3b1 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 30 Nov 2011 15:59:36 +0100 Subject: Properly cast buffer and latency times when setting properties This fix a crash on 32 bits system as gcc can't figure out the right size of the value. Thanks to Raluca-Elena Podiuc for her help in debugging this. https://bugzilla.gnome.org/show_bug.cgi?id=665171 --- src/empathy-audio-src.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/empathy-audio-src.c') diff --git a/src/empathy-audio-src.c b/src/empathy-audio-src.c index aa271fa1c..9a882c146 100644 --- a/src/empathy-audio-src.c +++ b/src/empathy-audio-src.c @@ -332,7 +332,7 @@ create_src (void) empathy_call_set_stream_properties (src, TRUE); /* Set latency (buffering on the PulseAudio side) of 20ms */ - g_object_set (src, "buffer-time", 20000, NULL); + g_object_set (src, "buffer-time", (gint64) 20000, NULL); return src; } -- cgit v1.2.3