psz_sdp = psz_sdp_new;
i_read = stream_Read( p_demux->s, &psz_sdp[i_len], i_read_max );
- if( i_read < 0 )
+ if( (int)i_read < 0 )
{
msg_Err( p_demux, "cannot read SDP" );
goto error;
psz_sdp[i_len] = '\0';
- if( i_read < i_read_max )
+ if( (int)i_read < i_read_max )
break; // EOF
}
if (strchr (psz_uri + 1, ':'))
{
host = psz_uri;
- psz_uri[strlen (psz_uri)] = ']';
+ strcat (psz_uri, "]");
}
else
host = psz_uri + 1;
psz_source_ip) == 2)
{
/* According to RFC4570, FQDNs can be used for source-filters,
- * but -seriously- this is impractical */
+ * but -seriously- this is impractical */
switch (ipv)
{
#ifdef AF_INET6