mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 12:08:11 +00:00
Fix 32 bits warnings
This commit is contained in:
parent
69307afc50
commit
9033898be9
1 changed files with 2 additions and 2 deletions
|
|
@ -102,7 +102,7 @@ LinphoneCoreManager* setup(bool_t enable_logs) {
|
|||
|
||||
time_t check_file(LinphoneCoreManager* mgr) {
|
||||
|
||||
uint64_t last_log = ms_time(NULL);
|
||||
time_t last_log = ms_time(NULL);
|
||||
char* filepath = linphone_core_compress_log_collection(mgr->lc);
|
||||
time_t time_curr = -1;
|
||||
uint32_t timediff = 0;
|
||||
|
|
@ -142,7 +142,7 @@ time_t check_file(LinphoneCoreManager* mgr) {
|
|||
ms_free(filepath);
|
||||
}
|
||||
|
||||
timediff = labs(time_curr - last_log);
|
||||
timediff = labs((long int)time_curr - (long int)last_log);
|
||||
|
||||
CU_ASSERT_TRUE( timediff <= 1 );
|
||||
if( !(timediff <= 1) ){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue