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

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


Author: rousseau
Date: Wed Jul  1 12:14:32 2009
New Revision: 4290

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4290
Log:
reorder fields in the _ATR structure of _SMARTCARD_EXTENSION
Structure is now 8 bytes shorter on 64-bits CPU
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=4290&op=diff
==============================================================================
--- trunk/PCSC/src/atrhandler.h (original)
+++ trunk/PCSC/src/atrhandler.h Wed Jul  1 12:14:32 2009
@@ -30,8 +30,8 @@
 		struct _ATR
 		{
 			DWORD Length;
+			DWORD HistoryLength;
 			UCHAR Value[MAX_ATR_SIZE];
-			DWORD HistoryLength;
 			UCHAR HistoryValue[MAX_ATR_SIZE];
 		}
 		ATR;




More information about the Pcsclite-cvs-commit mailing list