Make this build under dev mode
authorRussell Bryant <russell@russellbryant.com>
Thu, 12 Jun 2008 17:14:32 +0000 (17:14 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 12 Jun 2008 17:14:32 +0000 (17:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@122232 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/misdn/isdn_lib.c

index ed1d496..49ea636 100644 (file)
@@ -3122,7 +3122,7 @@ static int test_inuse(struct misdn_bchannel *bc)
        gettimeofday(&now, NULL);
        if (!bc->in_use) {
                if ( bc->last_used.tv_sec == now.tv_sec ) {
-                       cb_log(2,bc->port, "channel with stid:%x for one second still in use! (n:%d lu:%d)\n", bc->b_stid, now.tv_sec, bc->last_used.tv_sec);
+                       cb_log(2,bc->port, "channel with stid:%x for one second still in use! (n:%d lu:%d)\n", bc->b_stid, (int) now.tv_sec, (int) bc->last_used.tv_sec);
                        return 1;
                }