Commit 5cd3be66 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Fix return type of strlen

parent 2ec45471
...@@ -377,7 +377,7 @@ LIBDVDCSS_EXPORT dvdcss_t dvdcss_open ( char *psz_target ) ...@@ -377,7 +377,7 @@ LIBDVDCSS_EXPORT dvdcss_t dvdcss_open ( char *psz_target )
i_fd = open( psz_tagfile, O_RDWR|O_CREAT, 0644 ); i_fd = open( psz_tagfile, O_RDWR|O_CREAT, 0644 );
if( i_fd >= 0 ) if( i_fd >= 0 )
{ {
ssize_t len = strlen(psz_tag); size_t len = strlen(psz_tag);
if( write( i_fd, psz_tag, len ) < len ) if( write( i_fd, psz_tag, len ) < len )
{ {
print_error( dvdcss, print_error( dvdcss,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment