aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_features.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-08 01:16:44 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-08 01:16:44 +0000
commit888c110566aeb338b0b6b106abb06d0365787724 (patch)
tree31caea89faacb1df5c95797750ac9be111b590ab /res/res_features.c
parent8070ce138fb9c81c0d17e330932f39ec1bdc65da (diff)
more pointer signedness fixes for gcc4 warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6306 f38db490-d61c-443f-a65b-d21fe96a405b
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 1b5856a10..c4281ddc8 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] = "";
- char *message[5] = {NULL, NULL, NULL, NULL, NULL};
+ unsigned char *message[5] = {NULL, NULL, NULL, NULL, NULL};
snprintf(tmp, sizeof(tmp), "Parked on %d", parkingnum);
- message[0] = tmp;
+ message[0] = (unsigned char *)tmp;
res = adsi_load_session(chan, NULL, 0, 1);
if (res == -1) {
return res;