aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_features.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_features.c')
-rwxr-xr-xres/res_features.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_features.c b/res/res_features.c
index 35fcec02e..d91769db5 100755
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -248,10 +248,10 @@ static int adsi_announce_park(struct ast_channel *chan, int parkingnum)
int res;
int justify[5] = {ADSI_JUST_CENT, ADSI_JUST_CENT, ADSI_JUST_CENT, ADSI_JUST_CENT};
char tmp[256] = "";
- unsigned char *message[5] = {NULL, NULL, NULL, NULL, NULL};
+ char *message[5] = {NULL, NULL, NULL, NULL, NULL};
snprintf(tmp, sizeof(tmp), "Parked on %d", parkingnum);
- message[0] = (unsigned char *)tmp;
+ message[0] = tmp;
res = adsi_load_session(chan, NULL, 0, 1);
if (res == -1) {
return res;