From 4b7f92995a483d80ff2d5068ef7b81dc858ccb73 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 20 Oct 2015 22:23:41 +0200 Subject: [PATCH] fix compilation issue --- coreapi/bellesip_sal/sal_op_impl.c | 2 +- gtk/incall_view.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coreapi/bellesip_sal/sal_op_impl.c b/coreapi/bellesip_sal/sal_op_impl.c index 83dcf032b..dff9f0713 100644 --- a/coreapi/bellesip_sal/sal_op_impl.c +++ b/coreapi/bellesip_sal/sal_op_impl.c @@ -72,7 +72,7 @@ void sal_op_authenticate(SalOp *op, const SalAuthInfo *info){ /*Registration authenticate is just about registering again*/ sal_register_refresh(op,-1); }else { - /*for sure auth info will be accesible from the provider*/ + /*for sure auth info will be accessible from the provider*/ sal_process_authentication(op); } return ; diff --git a/gtk/incall_view.c b/gtk/incall_view.c index f9205da59..a3324fe77 100644 --- a/gtk/incall_view.c +++ b/gtk/incall_view.c @@ -371,7 +371,7 @@ static void volume_control_value_changed(GtkScaleButton *button, gdouble value, static gboolean volume_control_button_update_value(GtkWidget *widget) { LinphoneCall *call = (LinphoneCall *)g_object_get_data(G_OBJECT(widget), "call"); VolumeControlType type = (VolumeControlType)GPOINTER_TO_INT(g_object_get_data(G_OBJECT(widget), "type")); - float gain; + float gain = -1; if(type == VOLUME_CTRL_PLAYBACK) { gain = linphone_call_get_speaker_volume_gain(call);