aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_ices.c
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-27 23:13:15 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-27 23:13:15 +0000
commit7c985dc90cb46291d355281664da74a103abb74e (patch)
tree7a3d8340d6bb98f347b7b07cdbac1b9099b53303 /apps/app_ices.c
parent99038eda0dacf0d94237d4b62704c2027bf5105e (diff)
NULL does not need to be cast to (char *)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95069 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_ices.c')
-rw-r--r--apps/app_ices.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_ices.c b/apps/app_ices.c
index b2a4e9b91..88d118f08 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, (char *)NULL);
+ execl(ICES, "ices", filename, NULL);
/* But many places has it in /usr/bin */
- execl(LOCAL_ICES, "ices", filename, (char *)NULL);
+ execl(LOCAL_ICES, "ices", filename, NULL);
/* As a last-ditch effort, try to use PATH */
- execlp("ices", "ices", filename, (char *)NULL);
+ execlp("ices", "ices", filename, NULL);
ast_log(LOG_WARNING, "Execute of ices failed\n");
_exit(0);
}