aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-01 11:57:38 +0000
committermvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-01 11:57:38 +0000
commit6d9cc936690055036800909cef8552ed52621a36 (patch)
tree0e470f3fe38e4e48fe61f0db5b49ce651526e497 /apps
parentf79ff6e87f2a356e52ad8403ab3cdfe9e7e08633 (diff)
Merged revisions 135059 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r135059 | mvanbaak | 2008-08-01 13:47:34 +0200 (Fri, 01 Aug 2008) | 10 lines Merged revisions 135058 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r135058 | mvanbaak | 2008-08-01 13:43:46 +0200 (Fri, 01 Aug 2008) | 2 lines make app_ices compile on OpenBSD. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@135060 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_ices.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/app_ices.c b/apps/app_ices.c
index 397bed8e2..60828eb69 100644
--- a/apps/app_ices.c
+++ b/apps/app_ices.c
@@ -92,15 +92,15 @@ static int icesencode(char *filename, int fd)
* But many places has it in /usr/bin
* As a last-ditch effort, try to use PATH
*/
- execl(path_LOCAL "ices2", "ices", filename, NULL);
- execl(path_BIN "ices2", "ices", filename, NULL);
- execlp("ices2", "ices", filename, NULL);
+ execl(path_LOCAL "ices2", "ices", filename, (char *)NULL);
+ execl(path_BIN "ices2", "ices", filename, (char *)NULL);
+ execlp("ices2", "ices", filename, (char *)NULL);
ast_debug(1, "Couldn't find ices version 2, attempting to use ices version 1.");
- execl(path_LOCAL "ices", "ices", filename, NULL);
- execl(path_BIN "ices", "ices", filename, NULL);
- execlp("ices", "ices", filename, NULL);
+ execl(path_LOCAL "ices", "ices", filename, (char *)NULL);
+ execl(path_BIN "ices", "ices", filename, (char *)NULL);
+ execlp("ices", "ices", filename, (char *)NULL);
ast_log(LOG_WARNING, "Execute of ices failed, could not find command.\n");
close(fd);