Jean-Baptiste Kempf
2013-03-17 14:40:57 UTC
libdvdcss | branch: master | Jean-Baptiste Kempf <***@videolan.org> | Sun Mar 17 15:39:03 2013 +0100| [5cd3be66ca0a3df87eba99e9cfcb6c6cf6658cdd] | committer: Jean-Baptiste Kempf
Fix return type of strlen
src/libdvdcss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libdvdcss.c b/src/libdvdcss.c
index f1fbd9d..f7a2d51 100644
--- a/src/libdvdcss.c
+++ b/src/libdvdcss.c
@@ -377,7 +377,7 @@ LIBDVDCSS_EXPORT dvdcss_t dvdcss_open ( char *psz_target )
i_fd = open( psz_tagfile, O_RDWR|O_CREAT, 0644 );
if( i_fd >= 0 )
{
- ssize_t len = strlen(psz_tag);
+ size_t len = strlen(psz_tag);
if( write( i_fd, psz_tag, len ) < len )
{
print_error( dvdcss,
Fix return type of strlen
http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=5cd3be66ca0a3df87eba99e9cfcb6c6cf6658cdd
---src/libdvdcss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libdvdcss.c b/src/libdvdcss.c
index f1fbd9d..f7a2d51 100644
--- a/src/libdvdcss.c
+++ b/src/libdvdcss.c
@@ -377,7 +377,7 @@ LIBDVDCSS_EXPORT dvdcss_t dvdcss_open ( char *psz_target )
i_fd = open( psz_tagfile, O_RDWR|O_CREAT, 0644 );
if( i_fd >= 0 )
{
- ssize_t len = strlen(psz_tag);
+ size_t len = strlen(psz_tag);
if( write( i_fd, psz_tag, len ) < len )
{
print_error( dvdcss,