]> git.sesse.net Git - vlc/commitdiff
access_attachment: kill a warning
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 17 Feb 2011 21:43:00 +0000 (22:43 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 17 Feb 2011 21:43:00 +0000 (22:43 +0100)
modules/access/attachment.c

index ac5f3dae5b25ed2042317fe717e25a76d4106d31..b2de45a707c1937c37d8bef66635c01e2194ac9e 100644 (file)
@@ -117,7 +117,7 @@ static ssize_t Read(access_t *access, uint8_t *buffer, size_t size)
 {
     access_sys_t *sys = access->p_sys;
 
-    access->info.b_eof = access->info.i_pos >= sys->a->i_data;
+    access->info.b_eof = access->info.i_pos >= (uint64_t)sys->a->i_data;
     if (access->info.b_eof)
         return 0;