diff options
author | Steve Murphy <murf@digium.com> | 2009-01-14 20:51:26 +0000 |
---|---|---|
committer | Steve Murphy <murf@digium.com> | 2009-01-14 20:51:26 +0000 |
commit | a474341105e9163d9118dfad51c7d4df955686f7 (patch) | |
tree | ad63b5b0cdcf76fc513d5925971e3dfd44260973 /apps/app_page.c | |
parent | b4271327d7d532c3a34328b3854f914b5b79b11d (diff) |
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: https://origsvn.digium.com/svn/asterisk/trunk@168613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_page.c')
-rw-r--r-- | apps/app_page.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_page.c b/apps/app_page.c index 0681e72cb..2175da4b6 100644 --- a/apps/app_page.c +++ b/apps/app_page.c @@ -175,7 +175,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; } |