aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-14 21:21:58 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-14 21:21:58 +0000
commit22fa51114174f6f5d51e61da542b2ad8ff775fa7 (patch)
tree3cc1bfc689df1a4ea63a0b3b0107e08209f36b73
parent1cac717342548344566aa3720c17a10a0247a444 (diff)
Merged revisions 168613 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r168613 | murf | 2009-01-14 13:51:26 -0700 (Wed, 14 Jan 2009) | 9 lines Merged revisions 168608 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168608 | murf | 2009-01-14 12:34:35 -0700 (Wed, 14 Jan 2009) | 1 line app_page was failing to compile in dev-mode on my gcc-4.2.4 system. This change gets rid of the warning. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@168620 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_page.c b/apps/app_page.c
index c3ada4bc7..2a8446faf 100644
--- a/apps/app_page.c
+++ b/apps/app_page.c
@@ -116,7 +116,7 @@ static int page_exec(struct ast_channel *chan, void *data)
}
if (!(dial_list = ast_calloc(num_dials, sizeof(void *)))) {
- ast_log(LOG_ERROR, "Can't allocate %ld bytes for dial list\n", (sizeof(void *) * num_dials));
+ ast_log(LOG_ERROR, "Can't allocate %ld bytes for dial list\n", (long)(sizeof(void *) * num_dials));
return -1;
}