aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-14 19:34:35 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-14 19:34:35 +0000
commit666a6fcd3224124c17ffd2fccd6f224219529e92 (patch)
tree430a20f3e8ca89aea455e852ff6c7f289713869e
parent232d13bac0be2c04f01eafe1b43eb9d5aa88fe88 (diff)
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.4@168608 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 f93e5d7c3..c94e1b11a 100644
--- a/apps/app_page.c
+++ b/apps/app_page.c
@@ -125,7 +125,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));
ast_module_user_remove(u);
return -1;
}