[Pcsclite-cvs-commit] r4878 - /trunk/Drivers/ccid/src/ifdhandler.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Fri Apr 16 21:19:17 UTC 2010
Author: rousseau
Date: Fri Apr 16 21:19:16 2010
New Revision: 4878
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4878
Log:
Fix Sun Studio CC warnings
"ifdhandler.c", line 910: warning: initializer does not fit or is out of range: 250
"ifdhandler.c", line 910: warning: initializer does not fit or is out of range: 255
"ifdhandler.c", line 910: warning: initializer does not fit or is out of range: 129
"ifdhandler.c", line 911: warning: initializer does not fit or is out of range: 128
"ifdhandler.c", line 911: warning: initializer does not fit or is out of range: 193
"ifdhandler.c", line 911: warning: initializer does not fit or is out of range: 192
"ifdhandler.c", line 912: warning: initializer does not fit or is out of range: 144
"ifdhandler.c", line 912: warning: initializer does not fit or is out of range: 177
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=4878&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ifdhandler.c (original)
+++ trunk/Drivers/ccid/src/ifdhandler.c Fri Apr 16 21:19:16 2010
@@ -907,9 +907,9 @@
{
/* Hack for OpenPGP card */
- char openpgp_atr[] = { 0x3B, 0xFA, 0x13, 0x00, 0xFF, 0x81,
- 0x31, 0x80, 0x45, 0x00, 0x31, 0xC1, 0x73, 0xC0,
- 0x01, 0x00, 0x00, 0x90, 0x00, 0xB1 };
+ unsigned char openpgp_atr[] = { 0x3B, 0xFA, 0x13,
+ 0x00, 0xFF, 0x81, 0x31, 0x80, 0x45, 0x00, 0x31,
+ 0xC1, 0x73, 0xC0, 0x01, 0x00, 0x00, 0x90, 0x00, 0xB1 };
if (0 == memcmp(ccid_slot->pcATRBuffer, openpgp_atr,
ccid_slot->nATRLength))
More information about the Pcsclite-cvs-commit
mailing list