From 2790a8dc3ea6fc85a4dce6132ebd10d78d020c1e Mon Sep 17 00:00:00 2001 From: tilghman Date: Thu, 3 Jan 2008 01:59:27 +0000 Subject: Compatibility fix for OpenBSD Report and fix by: mvanbaak (Closes issue #11669) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96147 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_ices.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/app_ices.c') diff --git a/apps/app_ices.c b/apps/app_ices.c index 88d118f08..b2a4e9b91 100644 --- a/apps/app_ices.c +++ b/apps/app_ices.c @@ -86,11 +86,11 @@ static int icesencode(char *filename, int fd) close(x); } /* Most commonly installed in /usr/local/bin */ - execl(ICES, "ices", filename, NULL); + execl(ICES, "ices", filename, (char *)NULL); /* But many places has it in /usr/bin */ - execl(LOCAL_ICES, "ices", filename, NULL); + execl(LOCAL_ICES, "ices", filename, (char *)NULL); /* As a last-ditch effort, try to use PATH */ - execlp("ices", "ices", filename, NULL); + execlp("ices", "ices", filename, (char *)NULL); ast_log(LOG_WARNING, "Execute of ices failed\n"); _exit(0); } -- cgit v1.2.3