Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / comms / asterisk10 / patches / patch-apps_app__followme.c
blob426df4593b9b34ecfdf37685e468a17ca039433a
1 $NetBSD: patch-apps_app__followme.c,v 1.1.1.1 2012/01/15 18:36:21 jnemeth Exp $
3 --- apps/app_followme.c.orig 2012-09-06 00:56:47.000000000 +0000
4 +++ apps/app_followme.c
5 @@ -1127,12 +1127,12 @@ static void end_bridge_callback(void *da
7 ast_channel_lock(chan);
8 if (chan->cdr->answer.tv_sec) {
9 - snprintf(buf, sizeof(buf), "%ld", (long) end - chan->cdr->answer.tv_sec);
10 + snprintf(buf, sizeof(buf), "%jd", (intmax_t) ((long) end - chan->cdr->answer.tv_sec));
11 pbx_builtin_setvar_helper(chan, "ANSWEREDTIME", buf);
14 if (chan->cdr->start.tv_sec) {
15 - snprintf(buf, sizeof(buf), "%ld", (long) end - chan->cdr->start.tv_sec);
16 + snprintf(buf, sizeof(buf), "%jd", (intmax_t) ((long) end - chan->cdr->start.tv_sec));
17 pbx_builtin_setvar_helper(chan, "DIALEDTIME", buf);
19 ast_channel_unlock(chan);