[vlc-devel] commit: access_gnomevfs: Read function take a size_t and not an int. ( Rémi Duraffort )
git version control
git at videolan.org
Fri Jan 16 11:03:40 CET 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Jan 16 11:03:11 2009 +0100| [4a96b022ce862494a6bcacf3a868e1de7ad1e276] | committer: Rémi Duraffort
access_gnomevfs: Read function take a size_t and not an int.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4a96b022ce862494a6bcacf3a868e1de7ad1e276
---
modules/access/gnomevfs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/gnomevfs.c b/modules/access/gnomevfs.c
index 12176dd..53f7842 100644
--- a/modules/access/gnomevfs.c
+++ b/modules/access/gnomevfs.c
@@ -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;
More information about the vlc-devel
mailing list