From 1b35a441d945c9a6f88deeae692e4fe36bad8568 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Fri, 19 Jan 2007 16:21:24 +0000 Subject: [PATCH] include "asterisk/zapata.h" instead of testing for the location of the header files. On passing, add a cast to insure -Werror clean compilation on FreeBSD 6.x, where time_t does not match %ld git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51293 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_meetme.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/app_meetme.c b/apps/app_meetme.c index f315b2cb30..0d82ea95f8 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -38,8 +38,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include #include #include -#include -#include + +#include "asterisk/zapata.h" #include "asterisk/lock.h" #include "asterisk/file.h" @@ -1933,7 +1933,7 @@ bailoutandtrynormal: user->user_no, S_OR(user->chan->cid.cid_num, ""), S_OR(user->chan->cid.cid_name, ""), - (now - user->jointime)); + (long)(now - user->jointime)); } conf->users--;