fix a warning on osx
authorRussell Bryant <russell@russellbryant.com>
Mon, 5 Sep 2005 17:46:09 +0000 (17:46 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 5 Sep 2005 17:46:09 +0000 (17:46 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6515 65c4cc65-6c06-0410-ace0-fbb531ad65f3

sched.c

diff --git a/sched.c b/sched.c
index a3d6c72..dc689f1 100755 (executable)
--- a/sched.c
+++ b/sched.c
@@ -316,7 +316,7 @@ void ast_sched_dump(const struct sched_context *con)
                        q->callback,
                        q->data,
                        delta.tv_sec,
-                       delta.tv_usec);
+                       (long int)delta.tv_usec);
        }
        ast_log(LOG_DEBUG, "=============================================================\n");