[vlc-devel] commit: file: fix warning ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Jan 23 10:23:12 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 23 11:23:03 2010 +0200| [44a7af395faac26a570f8fe40b6be3da5ddd1dae] | committer: Rémi Denis-Courmont 

file: fix warning

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

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

diff --git a/modules/access/file.c b/modules/access/file.c
index 42a1213..a43732f 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -325,7 +325,7 @@ ssize_t FileRead( access_t *p_access, uint8_t *p_buffer, size_t i_len )
         struct stat st;
 
         if ((fstat (fd, &st) == 0)
-         && (p_access->info.i_size != st.st_size))
+         && (p_access->info.i_size != (uint64_t)st.st_size))
         {
             p_access->info.i_size = st.st_size;
             p_access->info.i_update |= INPUT_UPDATE_SIZE;




More information about the vlc-devel mailing list