[vlc-commits] avio: fix sign warning

Rémi Denis-Courmont git at videolan.org
Thu Sep 7 21:12:26 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Sep  7 22:11:54 2017 +0300| [a0980dce129844cd2434d501060f14c2fa20681c] | committer: Rémi Denis-Courmont

avio: fix sign warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a0980dce129844cd2434d501060f14c2fa20681c
---

 modules/access/avio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/avio.c b/modules/access/avio.c
index c6f6bbd3db..975d671d3f 100644
--- a/modules/access/avio.c
+++ b/modules/access/avio.c
@@ -273,7 +273,7 @@ static int Seek(stream_t *access, uint64_t position)
     if (ret < 0) {
         msg_Err(access, "Seek to %"PRIu64" failed: %s", position,
                 vlc_strerror_c(AVUNERROR(ret)));
-        if (sys->size < 0 || position != sys->size)
+        if (sys->size < 0 || position != (uint64_t)sys->size)
             return VLC_EGENERIC;
     }
     return VLC_SUCCESS;



More information about the vlc-commits mailing list