diff options
author | Russell Bryant <russell@russellbryant.com> | 2005-08-08 01:16:44 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2005-08-08 01:16:44 +0000 |
commit | 99d6c05f13942904f19d67b0079a7f4187084938 (patch) | |
tree | 31caea89faacb1df5c95797750ac9be111b590ab /res/res_features.c | |
parent | 6dde38ed5273244b0bea691e5b47d7cbded4dd54 (diff) |
more pointer signedness fixes for gcc4 warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_features.c')
-rwxr-xr-x | res/res_features.c | 4 |
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; |