[Pcsclite-cvs-commit] r2425 - trunk/Drivers/ccid/src
Ludovic Rousseau
rousseau at alioth.debian.org
Fri Feb 23 17:41:18 CET 2007
Author: rousseau
Date: 2007-02-23 17:41:18 +0100 (Fri, 23 Feb 2007)
New Revision: 2425
Modified:
trunk/Drivers/ccid/src/ccid_usb.c
Log:
ControlUSB(): explicit cast to avoid warning: pointer targets in passing
argument 6 of 'usb_control_msg' differ in signedness
Modified: trunk/Drivers/ccid/src/ccid_usb.c
===================================================================
--- trunk/Drivers/ccid/src/ccid_usb.c 2007-02-23 16:40:08 UTC (rev 2424)
+++ trunk/Drivers/ccid/src/ccid_usb.c 2007-02-23 16:41:18 UTC (rev 2425)
@@ -786,7 +786,7 @@
unsigned char *bytes, unsigned int size)
{
return usb_control_msg(usbDevice[reader_index].handle, requesttype,
- request, value, usbDevice[reader_index].interface, bytes, size,
+ request, value, usbDevice[reader_index].interface, (char *)bytes, size,
usbDevice[reader_index].ccid.readTimeout * 1000);
}
More information about the Pcsclite-cvs-commit
mailing list