[vlc-commits] old http: fix sign warning
Rémi Denis-Courmont
git at videolan.org
Sun Jul 23 16:52:50 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 23 16:29:12 2017 +0300| [268ffc891490c9f2bf46ca784fbcfd8446cd45e5] | committer: Rémi Denis-Courmont
old http: fix sign warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=268ffc891490c9f2bf46ca784fbcfd8446cd45e5
---
modules/access/http.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/access/http.c b/modules/access/http.c
index fbe2b97300..31457f357e 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -437,15 +437,15 @@ static ssize_t Read( stream_t *p_access, void *p_buffer, size_t i_len )
if( p_sys->i_icy_meta > 0 && p_sys->offset - p_sys->i_icy_offset > 0 )
{
- int64_t i_next = p_sys->i_icy_meta -
- (p_sys->offset - p_sys->i_icy_offset ) % p_sys->i_icy_meta;
+ int i_next = p_sys->i_icy_meta -
+ (p_sys->offset - p_sys->i_icy_offset) % p_sys->i_icy_meta;
if( i_next == p_sys->i_icy_meta )
{
if( ReadICYMeta( p_access ) )
return 0;
}
- if( i_len > i_next )
+ if( i_len > (size_t)i_next )
i_len = i_next;
}
More information about the vlc-commits
mailing list