summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2007-12-27 23:32:18 +0000
committerLuigi Rizzo <rizzo@icir.org>2007-12-27 23:32:18 +0000
commitc8f970936d17cbe3b3681f72e6e56b235dc66414 (patch)
tree742c524a29d7f00a88a22cf1ee4c5b1597903320 /apps/app_voicemail.c
parent03f68a8a3a9441a78307ca8675aaa32b50098792 (diff)
remove more unnecessary casts for NULL.
main/say.c is a big offender in this respect. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 22254f062..b3c687a29 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -3954,7 +3954,7 @@ static int get_folder(struct ast_channel *chan, int start)
if (d)
return d;
for (x = start; x< 5; x++) { /* For all folders */
- if ((d = ast_say_number(chan, x, AST_DIGIT_ANY, chan->language, (char *) NULL)))
+ if ((d = ast_say_number(chan, x, AST_DIGIT_ANY, chan->language, NULL)))
return d;
d = ast_play_and_wait(chan, "vm-for"); /* "for" */
if (d)
@@ -4699,7 +4699,7 @@ static int play_message(struct ast_channel *chan, struct ast_vm_user *vmu, struc
res = wait_file2(chan, vms, "vm-message"); /* "message" */
if (vms->curmsg && (vms->curmsg != vms->lastmsg)) {
if (!res)
- res = ast_say_number(chan, vms->curmsg + 1, AST_DIGIT_ANY, chan->language, (char *) NULL);
+ res = ast_say_number(chan, vms->curmsg + 1, AST_DIGIT_ANY, chan->language, NULL);
}
}