aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/channel.h
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-06-05 15:04:43 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-06-05 15:04:43 +0000
commit62d73d678be0a9ab297c8e8bf9f5fc7eea77e0a1 (patch)
treefbd0ef10bda1aa148ddde9901fa844bc6fc03dd4 /include/asterisk/channel.h
parent2d47f7a20bf96c8a9fc099cc1b7de348d601831c (diff)
make ast_waitstream_* return value compatible with platforms that use unsigned char by default (bug #4455)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5846 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/channel.h')
-rwxr-xr-xinclude/asterisk/channel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 5335d284b..893e34add 100755
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -754,11 +754,11 @@ struct ast_channel *ast_get_channel_by_name_locked(char *channame);
* \param c channel to wait for a digit on
* \param ms how many milliseconds to wait
* Wait for a digit. Returns <0 on error, 0 on no entry, and the digit on success. */
-char ast_waitfordigit(struct ast_channel *c, int ms);
+int ast_waitfordigit(struct ast_channel *c, int ms);
/* Same as above with audio fd for outputing read audio and ctrlfd to monitor for
reading. Returns 1 if ctrlfd becomes available */
-char ast_waitfordigit_full(struct ast_channel *c, int ms, int audiofd, int ctrlfd);
+int ast_waitfordigit_full(struct ast_channel *c, int ms, int audiofd, int ctrlfd);
/*! Reads multiple digits */
/*!