summaryrefslogtreecommitdiff
path: root/comms/asterisk19/patches/patch-apps_app__followme.c
blob: 0ac8727bec7432cb2598c4ac13d3c3ec77cd4fb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-apps_app__followme.c,v 1.1 2021/11/14 02:30:21 jnemeth Exp $

--- apps/app_followme.c.orig	2015-10-09 21:48:48.000000000 +0000
+++ apps/app_followme.c
@@ -380,7 +380,7 @@ static struct number *create_followme_nu
 		*tmp = '\0';
 	ast_copy_string(cur->number, buf, sizeof(cur->number));
 	cur->order = numorder;
-	ast_debug(1, "Created a number, %s, order of , %d, with a timeout of %ld.\n", cur->number, cur->order, cur->timeout);
+	ast_debug(1, "Created a number, %s, order of , %d, with a timeout of %jd.\n", cur->number, cur->order, (intmax_t)cur->timeout);
 
 	return cur;
 }
@@ -1010,7 +1010,7 @@ static struct ast_channel *findmeexec(st
 			break;
 		}
 
-		ast_debug(2, "Number(s) %s timeout %ld\n", nm->number, nm->timeout);
+		ast_debug(2, "Number(s) %s timeout %jd\n", nm->number, (intmax_t)nm->timeout);
 
 		/*
 		 * Put all active outgoing channels into autoservice.