mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-21 12:30:41 +00:00
Formats are inconsistent between even 32-bit and 64-bit Linux. Use casts to ensure both compile.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@241896 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -644,8 +644,8 @@ static void get_callerid(struct vpb_pvt *p)
|
||||
vpb_sleep(RING_SKIP);
|
||||
}
|
||||
|
||||
ast_verb(4, "CID record - skipped %ldms trailing ring\n",
|
||||
ast_tvdiff_ms(ast_tvnow(), cid_record_time));
|
||||
ast_verb(4, "CID record - skipped %lldms trailing ring\n",
|
||||
(long long int) ast_tvdiff_ms(ast_tvnow(), cid_record_time));
|
||||
cid_record_time = ast_tvnow();
|
||||
|
||||
/* Record bit between the rings which contains the callerid */
|
||||
@@ -658,8 +658,8 @@ static void get_callerid(struct vpb_pvt *p)
|
||||
vpb_wave_close_write(ws);
|
||||
#endif
|
||||
|
||||
ast_verb(4, "CID record - recorded %ldms between rings\n",
|
||||
ast_tvdiff_ms(ast_tvnow(), cid_record_time));
|
||||
ast_verb(4, "CID record - recorded %lldms between rings\n",
|
||||
(long long int) ast_tvdiff_ms(ast_tvnow(), cid_record_time));
|
||||
|
||||
ast_mutex_unlock(&p->record_lock);
|
||||
|
||||
|
Reference in New Issue
Block a user