diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-04-21 06:30:23 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-04-21 06:30:23 +0000 |
commit | a729a57ba121061fd42f5dd4f557ed1f18d6dc99 (patch) | |
tree | 32ef323c5510fa3321c859182f59030f2c675829 /channels/chan_oss.c | |
parent | 1f9ab2380a4543526bbd20e0fa754de95747c77e (diff) |
fix various compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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; |