[vlc-commits] access_attachment: kill a warning

Jean-Baptiste Kempf git at videolan.org
Thu Feb 17 22:43:29 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 17 22:43:00 2011 +0100| [67f5ba1f14bfb774d5681ecee5d8e210e1aff8de] | committer: Jean-Baptiste Kempf

access_attachment: kill a warning

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

 modules/access/attachment.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/attachment.c b/modules/access/attachment.c
index ac5f3da..b2de45a 100644
--- a/modules/access/attachment.c
+++ b/modules/access/attachment.c
@@ -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;
 



More information about the vlc-commits mailing list