summaryrefslogtreecommitdiff
path: root/channels/chan_vpb.cc
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-01-21 15:14:55 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-01-21 15:14:55 +0000
commit04aa8b114906cc3abc26a29f296004e9c5ab2d8c (patch)
tree18aaf254f96db341c9db5dfe1d767d3a05a9e459 /channels/chan_vpb.cc
parente718ef4d45985ab7433378da41eafd0ddcf6b8d5 (diff)
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
Diffstat (limited to 'channels/chan_vpb.cc')
-rw-r--r--channels/chan_vpb.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/channels/chan_vpb.cc b/channels/chan_vpb.cc
index 551aab9e5..f6a3ae6a5 100644
--- a/channels/chan_vpb.cc
+++ b/channels/chan_vpb.cc
@@ -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);