[vlc-devel] commit: network: vasprintf returns an int. (Pierre d'Herbemont )
git version control
git at videolan.org
Wed Aug 13 00:54:38 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Wed Aug 13 00:45:56 2008 +0200| [6feaa530574554f1d82669a9f068e3322525192d] | committer: Pierre d'Herbemont
network: vasprintf returns an int.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6feaa530574554f1d82669a9f068e3322525192d
---
src/network/io.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/network/io.c b/src/network/io.c
index 62d69e9..a463569 100644
--- a/src/network/io.c
+++ b/src/network/io.c
@@ -541,7 +541,7 @@ ssize_t __net_vaPrintf( vlc_object_t *p_this, int fd, const v_socket_t *p_vs,
char *psz;
int i_ret;
- size_t i_size = vasprintf( &psz, psz_fmt, args );
+ int i_size = vasprintf( &psz, psz_fmt, args );
if( i_size == -1 )
return -1;
i_ret = __net_Write( p_this, fd, p_vs, (uint8_t *)psz, i_size ) < i_size
More information about the vlc-devel
mailing list