[libdvdcss-devel] Win32: fix signedness warning

Jean-Baptiste Kempf git at videolan.org
Thu Feb 14 01:50:21 CET 2013


libdvdcss | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 14 01:49:28 2013 +0100| [24968037296bdb623fc5d47a699c226c4122d213] | committer: Jean-Baptiste Kempf

Win32: fix signedness warning

> http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=24968037296bdb623fc5d47a699c226c4122d213
---

 src/ioctl.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ioctl.h b/src/ioctl.h
index 6f33d5b..28a0c2e 100644
--- a/src/ioctl.h
+++ b/src/ioctl.h
@@ -120,7 +120,7 @@ int ioctl_SendRPC           ( int, int );
     struct SRB_ExecSCSICmd ssc; \
     uint8_t p_buffer[ (SIZE)+1 ]; \
     memset( &ssc, 0, sizeof( struct SRB_ExecSCSICmd ) ); \
-    ssc.SRB_BufPointer = (char *)p_buffer; \
+    ssc.SRB_BufPointer = (unsigned char *)p_buffer; \
     ssc.SRB_BufLen = (SIZE); \
     WinInitSSC( &ssc, (TYPE) );
 #endif



More information about the libdvdcss-devel mailing list