[Pcsclite-cvs-commit] CVS Drivers/ccid/src
CVS User rousseau
ludovic.rousseau@free.fr
Wed, 27 Apr 2005 12:10:45 +0000
Update of /cvsroot/pcsclite/Drivers/ccid/src
In directory haydn:/tmp/cvs-serv28368
Modified Files:
ccid_usb.c
Log Message:
get_data_rates() returns an unsigned int [] (not just int [])
--- /cvsroot/pcsclite/Drivers/ccid/src/ccid_usb.c 2005/04/26 14:34:52 1.49
+++ /cvsroot/pcsclite/Drivers/ccid/src/ccid_usb.c 2005/04/27 12:10:45 1.50
@@ -18,7 +18,7 @@
*/
/*
- * $Id: ccid_usb.c,v 1.49 2005/04/26 14:34:52 rousseau Exp $
+ * $Id: ccid_usb.c,v 1.50 2005/04/27 12:10:45 rousseau Exp $
*/
#define __CCID_USB__
@@ -85,7 +85,7 @@
static int get_end_points(struct usb_device *dev, _usbDevice *usb_device);
int ccid_check_firmware(struct usb_device *dev);
-static int *get_data_rates(unsigned int reader_index);
+static unsigned int *get_data_rates(unsigned int reader_index);
/* ne need to initialize to 0 since it is static */
static _usbDevice usbDevice[CCID_DRIVER_MAX_READERS];
@@ -691,7 +691,7 @@
* get_data_rates
*
****************************************************************************/
-static int *get_data_rates(unsigned int reader_index)
+static unsigned int *get_data_rates(unsigned int reader_index)
{
int n, i;
unsigned char buffer[256*sizeof(int)]; /* maximum is 256 records */