[Pcsclite-cvs-commit] r4291 - /trunk/PCSC/src/atrhandler.h

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Wed Jul 1 12:23:23 UTC 2009


Author: rousseau
Date: Wed Jul  1 12:23:22 2009
New Revision: 4291

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4291
Log:
use int instead of DWORD for Length and HistoryLength in _ATR structure
to gain 12 bytes on _ATR (and 16 bytes on _SMARTCARD_EXTENSION).
Thanks to pahole(1)

Modified:
    trunk/PCSC/src/atrhandler.h

Modified: trunk/PCSC/src/atrhandler.h
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/atrhandler.h?rev=4291&op=diff
==============================================================================
--- trunk/PCSC/src/atrhandler.h (original)
+++ trunk/PCSC/src/atrhandler.h Wed Jul  1 12:23:22 2009
@@ -29,8 +29,8 @@
 
 		struct _ATR
 		{
-			DWORD Length;
-			DWORD HistoryLength;
+			int Length;
+			int HistoryLength;
 			UCHAR Value[MAX_ATR_SIZE];
 			UCHAR HistoryValue[MAX_ATR_SIZE];
 		}




More information about the Pcsclite-cvs-commit mailing list