[Pcsclite-cvs-commit] r2480 - trunk/Drivers/ccid/src

Ludovic Rousseau rousseau at alioth.debian.org
Tue Mar 13 21:49:42 CET 2007


Author: rousseau
Date: 2007-03-13 20:49:42 +0000 (Tue, 13 Mar 2007)
New Revision: 2480

Modified:
   trunk/Drivers/ccid/src/parse.c
Log:
use an unsigned char buffer[] to have unsigned multi-bytes convertions


Modified: trunk/Drivers/ccid/src/parse.c
===================================================================
--- trunk/Drivers/ccid/src/parse.c	2007-03-13 09:46:43 UTC (rev 2479)
+++ trunk/Drivers/ccid/src/parse.c	2007-03-13 20:49:42 UTC (rev 2480)
@@ -126,7 +126,7 @@
 {
 	struct usb_interface_descriptor *usb_interface;
 	unsigned char *extra;
-	char buffer[256*sizeof(int)];  /* maximum is 256 records */
+	unsigned char buffer[256*sizeof(int)];  /* maximum is 256 records */
 
 	/*
 	 * Vendor/model name




More information about the Pcsclite-cvs-commit mailing list