summaryrefslogtreecommitdiff
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2007-12-27 23:13:15 +0000
committerLuigi Rizzo <rizzo@icir.org>2007-12-27 23:13:15 +0000
commit5e041a46dc5a84d4819b9114c29fffddb051bee1 (patch)
tree7a3d8340d6bb98f347b7b07cdbac1b9099b53303 /apps/app_queue.c
parentfb487bbc8980cf95a250337a0d13cae2e2f40900 (diff)
NULL does not need to be cast to (char *)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 323ab4d8c..ad39a78cd 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1704,7 +1704,7 @@ static int say_position(struct queue_ent *qe, int ringing)
res = play_file(qe->chan, qe->parent->sound_thereare);
if (res)
goto playout;
- res = ast_say_number(qe->chan, qe->pos, AST_DIGIT_ANY, qe->chan->language, (char *) NULL); /* Needs gender */
+ res = ast_say_number(qe->chan, qe->pos, AST_DIGIT_ANY, qe->chan->language, NULL); /* Needs gender */
if (res)
goto playout;
res = play_file(qe->chan, qe->parent->sound_calls);