[Pcsclite-cvs-commit] r4879 - /trunk/Drivers/ccid/src/ifdhandler.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Fri Apr 16 21:20:23 UTC 2010


Author: rousseau
Date: Fri Apr 16 21:20:22 2010
New Revision: 4879

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4879
Log:
Fix Studio CC warning
"ifdhandler.c", line 1275: warning: initializer does not fit or is out of range: 248

Modified:
    trunk/Drivers/ccid/src/ifdhandler.c

Modified: trunk/Drivers/ccid/src/ifdhandler.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ifdhandler.c?rev=4879&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ifdhandler.c (original)
+++ trunk/Drivers/ccid/src/ifdhandler.c Fri Apr 16 21:20:22 2010
@@ -1272,7 +1272,7 @@
 
 		if (VENDOR_GEMALTO == GET_VENDOR(readerID))
 		{
-			char switch_interface[] = { 0x52, 0xF8, 0x04, 0x01, 0x00 };
+			unsigned char switch_interface[] = { 0x52, 0xF8, 0x04, 0x01, 0x00 };
 
 			/* get firmware version escape command */
 			if ((1 == TxLength) && (0x02 == TxBuffer[0]))




More information about the Pcsclite-cvs-commit mailing list