From 9cf85cdbcf201a2dd7f48cec9dc715d74b36cff9 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Wed, 28 Sep 2016 14:59:30 +0200 Subject: [PATCH] fix bad cast to unsigned int --- coreapi/linphonecore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 021659490..60587b50b 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -1601,7 +1601,7 @@ static void misc_config_read(LinphoneCore *lc) { LpConfig *config=lc->config; const char *uuid; - lc->max_call_logs=(unsigned int)lp_config_get_int(config,"misc","history_max_size",LINPHONE_MAX_CALL_HISTORY_SIZE); + lc->max_call_logs=lp_config_get_int(config,"misc","history_max_size",LINPHONE_MAX_CALL_HISTORY_SIZE); lc->max_calls=lp_config_get_int(config,"misc","max_calls",NB_MAX_CALLS); uuid=lp_config_get_string(config,"misc","uuid",NULL);