[Asterisk-cvs] asterisk/channels chan_modem_i4l.c,1.21,1.22

markster at lists.digium.com markster at lists.digium.com
Mon Jan 24 07:57:56 CST 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv22871/channels

Modified Files:
	chan_modem_i4l.c 
Log Message:
Fix chan_modem_i4l to be sure we use unsigned (bug #3412)


Index: chan_modem_i4l.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_modem_i4l.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- chan_modem_i4l.c	24 Jan 2005 02:59:17 -0000	1.21
+++ chan_modem_i4l.c	24 Jan 2005 14:00:18 -0000	1.22
@@ -310,7 +310,7 @@
 
 static struct ast_frame *i4l_read(struct ast_modem_pvt *p)
 {
-	char result[256];
+	unsigned char result[256];
 	short *b;
 	struct ast_frame *f=NULL;
 	int res;




More information about the svn-commits mailing list