mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fix chan_modem_i4l to be sure we use unsigned (bug #3412)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -310,7 +310,7 @@ static struct ast_frame *i4l_handle_escape(struct ast_modem_pvt *p, char esc)
|
|||||||
|
|
||||||
static struct ast_frame *i4l_read(struct ast_modem_pvt *p)
|
static struct ast_frame *i4l_read(struct ast_modem_pvt *p)
|
||||||
{
|
{
|
||||||
char result[256];
|
unsigned char result[256];
|
||||||
short *b;
|
short *b;
|
||||||
struct ast_frame *f=NULL;
|
struct ast_frame *f=NULL;
|
||||||
int res;
|
int res;
|
||||||
|
Reference in New Issue
Block a user