From b05ff7c3433eb4a99be6e30698a4ab89e891af59 Mon Sep 17 00:00:00 2001
From: Mark Spencer <markster@digium.com>
Date: Sun, 13 Nov 2005 00:52:57 +0000
Subject: [PATCH] Fix i4l breakage (bug #5729)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channels/chan_modem_i4l.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/channels/chan_modem_i4l.c b/channels/chan_modem_i4l.c
index 3d0cbf26b4..69aa004547 100755
--- a/channels/chan_modem_i4l.c
+++ b/channels/chan_modem_i4l.c
@@ -329,7 +329,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)
 {
-	char result[256];
+	unsigned char result[256];
 	short *b;
 	struct ast_frame *f=NULL;
 	int res;
-- 
GitLab