[asterisk-commits] murf: branch 1.4 r168608 - /branches/1.4/apps/app_page.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jan 14 13:34:36 CST 2009
Author: murf
Date: Wed Jan 14 13:34:35 2009
New Revision: 168608
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=168608
Log:
app_page was failing to compile in dev-mode on my gcc-4.2.4 system. This change gets rid of the warning.
Modified:
branches/1.4/apps/app_page.c
Modified: branches/1.4/apps/app_page.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/apps/app_page.c?view=diff&rev=168608&r1=168607&r2=168608
==============================================================================
--- branches/1.4/apps/app_page.c (original)
+++ branches/1.4/apps/app_page.c Wed Jan 14 13:34:35 2009
@@ -125,7 +125,7 @@
}
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;
}
More information about the asterisk-commits
mailing list