From f945ec50a244d3a7ecee47e6535aeb02afb17930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Tue, 20 Jun 2006 01:07:58 +0000 Subject: Fix generic warnings. CVS patchset: 8064 CVS date: 2006/06/20 01:07:58 --- src/input/librtsp/rtsp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/input/librtsp') diff --git a/src/input/librtsp/rtsp.c b/src/input/librtsp/rtsp.c index 9c3dbb125..ffe181547 100644 --- a/src/input/librtsp/rtsp.c +++ b/src/input/librtsp/rtsp.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: rtsp.c,v 1.20 2006/03/18 09:42:43 tmattern Exp $ + * $Id: rtsp.c,v 1.21 2006/06/20 01:07:58 dgp85 Exp $ * * a minimalistic implementation of rtsp protocol, * *not* RFC 2326 compilant yet. @@ -442,7 +442,8 @@ rtsp_t *rtsp_connect(xine_stream_t *stream, const char *mrl, const char *user_ag rtsp_t *s = malloc(sizeof(rtsp_t)); char *mrl_ptr=strdup(mrl); char *slash, *colon; - int hostend, pathbegin, i; + int hostend, i; + size_t pathbegin; if (strncmp(mrl,"rtsp://",7)) { -- cgit v1.2.3