mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-24 13:50:08 +00:00
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
This commit is contained in:
@@ -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 */
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user