Commit 9033898b authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI
Browse files

Fix 32 bits warnings

parent 69307afc
......@@ -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) ){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment