]> git.sesse.net Git - vlc/commitdiff
access_gnomevfs: Read function take a size_t and not an int.
authorRémi Duraffort <ivoire@videolan.org>
Fri, 16 Jan 2009 10:03:11 +0000 (11:03 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Fri, 16 Jan 2009 10:03:11 +0000 (11:03 +0100)
modules/access/gnomevfs.c

index 12176dd2dc87beefaae7425848e642ac404d81b3..53f7842365c91ced679f616d6a95bceb05dfea89 100644 (file)
@@ -65,7 +65,7 @@ vlc_module_end ()
  * Exported prototypes
  *****************************************************************************/
 static int  Seek( access_t *, int64_t );
-static int  Read( access_t *, uint8_t *, int );
+static int  Read( access_t *, uint8_t *, size_t );
 static int  Control( access_t *, int, va_list );
 
 struct access_sys_t
@@ -285,7 +285,7 @@ static void Close( vlc_object_t * p_this )
 /*****************************************************************************
  * Read: standard read on a file descriptor.
  *****************************************************************************/
-static int Read( access_t *p_access, uint8_t *p_buffer, int i_len )
+static int Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
 {
     access_sys_t *p_sys = p_access->p_sys;
     GnomeVFSFileSize i_read_len;