[Pcsclite-cvs-commit] r2160 - trunk/PCSC/src
Ludovic Rousseau
rousseau at costa.debian.org
Wed Sep 13 11:06:59 CEST 2006
Author: rousseau
Date: 2006-09-13 09:06:59 +0000 (Wed, 13 Sep 2006)
New Revision: 2160
Modified:
trunk/PCSC/src/winscard_clnt.c
Log:
change dwContextIndex type from DWORD to LONG since we compare it to -1
Thanks to -Wextra for the potential bug report
Modified: trunk/PCSC/src/winscard_clnt.c
===================================================================
--- trunk/PCSC/src/winscard_clnt.c 2006-09-13 09:05:11 UTC (rev 2159)
+++ trunk/PCSC/src/winscard_clnt.c 2006-09-13 09:06:59 UTC (rev 2160)
@@ -490,7 +490,7 @@
LONG rv;
release_struct scReleaseStruct;
sharedSegmentMsg msgStruct;
- DWORD dwContextIndex;
+ LONG dwContextIndex;
PROFILE_START
@@ -621,7 +621,7 @@
LONG rv;
connect_struct scConnectStruct;
sharedSegmentMsg msgStruct;
- DWORD dwContextIndex;
+ LONG dwContextIndex;
PROFILE_START
@@ -1611,7 +1611,7 @@
DWORD dwState;
DWORD dwBreakFlag = 0;
int j;
- DWORD dwContextIndex;
+ LONG dwContextIndex;
int currentReaderCount = 0;
PROFILE_START
@@ -2781,7 +2781,7 @@
{
DWORD dwReadersLen;
int i, lastChrPtr;
- DWORD dwContextIndex;
+ LONG dwContextIndex;
PROFILE_START
@@ -2884,7 +2884,7 @@
LPDWORD pcchGroups)
{
LONG rv = SCARD_S_SUCCESS;
- DWORD dwContextIndex;
+ LONG dwContextIndex;
PROFILE_START
@@ -2953,7 +2953,7 @@
*/
LONG SCardCancel(SCARDCONTEXT hContext)
{
- DWORD dwContextIndex;
+ LONG dwContextIndex;
PROFILE_START
More information about the Pcsclite-cvs-commit
mailing list