diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-21 06:30:23 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-21 06:30:23 +0000 |
commit | bef71744f4685c36a2c2db1af2d9d97a1abca305 (patch) | |
tree | 32ef323c5510fa3321c859182f59030f2c675829 /channels/chan_oss.c | |
parent | 31e8dcf4fe91466bf35a3f6d4de2bd714c43b288 (diff) |
fix various compiler warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5491 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_oss.c')
-rwxr-xr-x | channels/chan_oss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_oss.c b/channels/chan_oss.c index 809fdba08..f52da8b73 100755 --- a/channels/chan_oss.c +++ b/channels/chan_oss.c @@ -119,7 +119,7 @@ static struct chan_oss_pvt { static struct ast_channel *oss_request(const char *type, int format, void *data, int *cause); static int oss_digit(struct ast_channel *c, char digit); -static int oss_text(struct ast_channel *c, char *text); +static int oss_text(struct ast_channel *c, const char *text); static int oss_hangup(struct ast_channel *c); static int oss_answer(struct ast_channel *c); static struct ast_frame *oss_read(struct ast_channel *chan); @@ -484,7 +484,7 @@ static int oss_digit(struct ast_channel *c, char digit) return 0; } -static int oss_text(struct ast_channel *c, char *text) +static int oss_text(struct ast_channel *c, const char *text) { ast_verbose( " << Console Received text %s >> \n", text); return 0; |