silent warning from a debugging message (which will go away
authorLuigi Rizzo <rizzo@icir.org>
Wed, 18 Oct 2006 22:40:02 +0000 (22:40 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Wed, 18 Oct 2006 22:40:02 +0000 (22:40 +0000)
soon, anyways)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45611 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/manager.c

index d55e669..98a2b2a 100644 (file)
@@ -1931,7 +1931,7 @@ static void *accept_thread(void *ignore)
                AST_LIST_TRAVERSE_SAFE_BEGIN(&sessions, s, list) {
                        if (s->sessiontimeout && (now > s->sessiontimeout) && !s->inuse) {
                                ast_verbose("destroy session[2] %lx now %lu to %lu\n",
-                                       s->managerid, now, s->sessiontimeout);
+                                       s->managerid, (unsigned long)now, (unsigned long)s->sessiontimeout);
                                AST_LIST_REMOVE_CURRENT(&sessions, list);
                                ast_atomic_fetchadd_int(&num_sessions, -1);
                                if (s->authenticated && (option_verbose > 1) && displayconnects) {