[Pcsclite-cvs-commit] r2159 - trunk/PCSC/src
Ludovic Rousseau
rousseau at costa.debian.org
Wed Sep 13 11:05:12 CEST 2006
Author: rousseau
Date: 2006-09-13 09:05:11 +0000 (Wed, 13 Sep 2006)
New Revision: 2159
Modified:
trunk/PCSC/src/testpcsc.c
Log:
correct some variable types to avoid compiler warning: comparison
between signed and unsigned
Modified: trunk/PCSC/src/testpcsc.c
===================================================================
--- trunk/PCSC/src/testpcsc.c 2006-09-13 08:48:21 UTC (rev 2158)
+++ trunk/PCSC/src/testpcsc.c 2006-09-13 09:05:11 UTC (rev 2159)
@@ -28,14 +28,15 @@
SCARDHANDLE hCard;
SCARDCONTEXT hContext;
SCARD_READERSTATE_A rgReaderStates[1];
- unsigned long dwReaderLen, dwState, dwProt, dwAtrLen;
- unsigned long dwPref, dwReaders;
+ DWORD dwReaderLen, dwState, dwProt, dwAtrLen;
+ DWORD dwPref, dwReaders;
char *pcReaders, *mszReaders;
unsigned char pbAtr[MAX_ATR_SIZE];
char *mszGroups;
- unsigned long dwGroups;
+ DWORD dwGroups;
long rv;
- int i, p, iReader;
+ DWORD i;
+ int p, iReader;
int iList[16];
SCARD_IO_REQUEST pioRecvPci;
SCARD_IO_REQUEST pioSendPci;
More information about the Pcsclite-cvs-commit
mailing list