Discussion:
[libdvdcss-devel] Fix comparison sign warning
Jean-Baptiste Kempf
2013-03-17 15:02:31 UTC
Permalink
libdvdcss | branch: master | Jean-Baptiste Kempf <***@videolan.org> | Sun Mar 17 16:02:15 2013 +0100| [b1210d0eeac2102daf6e1f3f544c98ffe6b1a731] | committer: Jean-Baptiste Kempf

Fix comparison sign warning
http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=b1210d0eeac2102daf6e1f3f544c98ffe6b1a731
---

src/libdvdcss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libdvdcss.c b/src/libdvdcss.c
index f7a2d51..6c4befc 100644
--- a/src/libdvdcss.c
+++ b/src/libdvdcss.c
@@ -378,7 +378,7 @@ LIBDVDCSS_EXPORT dvdcss_t dvdcss_open ( char *psz_target )
if( i_fd >= 0 )
{
size_t len = strlen(psz_tag);
- if( write( i_fd, psz_tag, len ) < len )
+ if( write( i_fd, psz_tag, len ) < (long)len )
{
print_error( dvdcss,
"Error writing cache directory tag, continuing..\n" );

Loading...