Use ssize_t
authorRémi Denis-Courmont <rem@videolan.org>
Fri, 21 Dec 2007 15:56:30 +0000 (15:56 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Fri, 21 Dec 2007 15:56:30 +0000 (15:56 +0000)
modules/access/file.c

index c11bb09..3454e9d 100644 (file)
@@ -252,7 +252,7 @@ static void Close (vlc_object_t * p_this)
 static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
 {
     access_sys_t *p_sys = p_access->p_sys;
-    int i_ret;
+    ssize_t i_ret;
     int fd = p_sys->fd;
 
 #if !defined(WIN32) && !defined(UNDER_CE)