shithub: libdvdcss

Download patch

ref: 5cd3be66ca0a3df87eba99e9cfcb6c6cf6658cdd
parent: 2ec45471143b43ef20888682d809577c390edb62
author: Jean-Baptiste Kempf <jb@videolan.org>
date: Sun Mar 17 11:39:03 EDT 2013

Fix return type of strlen

--- a/src/libdvdcss.c
+++ b/src/libdvdcss.c
@@ -377,7 +377,7 @@
         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,