Fix up compile breakage from ast_tvdiff_ms() API change.
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 20 Jan 2010 13:01:00 +0000 (13:01 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 20 Jan 2010 13:01:00 +0000 (13:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@241503 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_vpb.cc

index b0c9f2f..551aab9 100644 (file)
@@ -644,7 +644,7 @@ static void get_callerid(struct vpb_pvt *p)
                        vpb_sleep(RING_SKIP);
                }
 
-               ast_verb(4, "CID record - skipped %dms trailing ring\n",
+               ast_verb(4, "CID record - skipped %ldms trailing ring\n",
                                 ast_tvdiff_ms(ast_tvnow(), cid_record_time));
                cid_record_time = ast_tvnow();
 
@@ -658,7 +658,7 @@ static void get_callerid(struct vpb_pvt *p)
                vpb_wave_close_write(ws);
 #endif
 
-               ast_verb(4, "CID record - recorded %dms between rings\n",
+               ast_verb(4, "CID record - recorded %ldms between rings\n",
                                 ast_tvdiff_ms(ast_tvnow(), cid_record_time));
 
                ast_mutex_unlock(&p->record_lock);