diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-06-05 15:04:43 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-06-05 15:04:43 +0000 |
commit | 7a2d5cbb3e69140e3077c14ce045248e18dd8293 (patch) | |
tree | fbd0ef10bda1aa148ddde9901fa844bc6fc03dd4 /file.c | |
parent | 325602ff2b764e72f89653f4f93fb4dd4bc7835c (diff) |
make ast_waitstream_* return value compatible with platforms that use unsigned char by default (bug #4455)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'file.c')
-rwxr-xr-x | file.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -934,7 +934,7 @@ struct ast_filestream *ast_writefile(const char *filename, const char *type, con return fs; } -char ast_waitstream(struct ast_channel *c, const char *breakon) +int ast_waitstream(struct ast_channel *c, const char *breakon) { /* XXX Maybe I should just front-end ast_waitstream_full ? XXX */ int res; @@ -990,7 +990,7 @@ char ast_waitstream(struct ast_channel *c, const char *breakon) return (c->_softhangup ? -1 : 0); } -char ast_waitstream_fr(struct ast_channel *c, const char *breakon, const char *forward, const char *rewind, int ms) +int ast_waitstream_fr(struct ast_channel *c, const char *breakon, const char *forward, const char *rewind, int ms) { int res; struct ast_frame *fr; @@ -1059,7 +1059,7 @@ char ast_waitstream_fr(struct ast_channel *c, const char *breakon, const char *f return (c->_softhangup ? -1 : 0); } -char ast_waitstream_full(struct ast_channel *c, const char *breakon, int audiofd, int cmdfd) +int ast_waitstream_full(struct ast_channel *c, const char *breakon, int audiofd, int cmdfd) { int res; int ms; |