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);