From a7531984c36cee76a008d24c77cf48b048fcd5a3 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 25 Apr 2007 10:07:12 +0000 Subject: gst/rtsp/rtspconnection.c: Read the channel byte as an unsigned byte. Original commit message from CVS: * gst/rtsp/rtspconnection.c: (rtsp_connection_receive): Read the channel byte as an unsigned byte. --- gst/rtsp/rtspconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst') diff --git a/gst/rtsp/rtspconnection.c b/gst/rtsp/rtspconnection.c index b3dfba65..e921a346 100644 --- a/gst/rtsp/rtspconnection.c +++ b/gst/rtsp/rtspconnection.c @@ -683,7 +683,7 @@ rtsp_connection_receive (RTSPConnection * conn, RTSPMessage * msg) res = RTSP_OK; /* parse first line and headers */ while (res == RTSP_OK) { - gchar c; + guint8 c; /* read first character, this identifies data messages */ RTSP_CHECK (rtsp_connection_read (conn, &c, 1), read_error); -- cgit