[Pcsclite-cvs-commit] r5288 - /trunk/PCSC/src/PCSC/pcsclite.h.in

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sun Oct 10 13:08:56 UTC 2010


Author: rousseau
Date: Sun Oct 10 13:08:44 2010
New Revision: 5288

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5288
Log:
struct SCARD_READERSTATE: use "DWORD" instead of "unsigned long" type
for the fields dwCurrentState, dwEventState and cbAtr

This is compliant to the Windows definition and allows to redefine DWORD
to something other than unsigned long, like uint32_t

Modified:
    trunk/PCSC/src/PCSC/pcsclite.h.in

Modified: trunk/PCSC/src/PCSC/pcsclite.h.in
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/PCSC/pcsclite.h.in?rev=5288&op=diff
==============================================================================
--- trunk/PCSC/src/PCSC/pcsclite.h.in (original)
+++ trunk/PCSC/src/PCSC/pcsclite.h.in Sun Oct 10 13:08:44 2010
@@ -41,9 +41,9 @@
 {
 	const char *szReader;
 	void *pvUserData;
-	unsigned long dwCurrentState;
-	unsigned long dwEventState;
-	unsigned long cbAtr;
+	DWORD dwCurrentState;
+	DWORD dwEventState;
+	DWORD cbAtr;
 	unsigned char rgbAtr[MAX_ATR_SIZE];
 }
 SCARD_READERSTATE, *LPSCARD_READERSTATE;




More information about the Pcsclite-cvs-commit mailing list