[Pcsclite-cvs-commit] r4726 - /trunk/PCSC/src/readerfactory.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Tue Feb 9 10:49:31 UTC 2010


Author: rousseau
Date: Tue Feb  9 10:49:30 2010
New Revision: 4726

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4726
Log:
Fix a compilation warning

readerfactory.c: In function ‘RFAddReaderHandle’:
readerfactory.c:1125: warning: comparison between signed and unsigned

Modified:
    trunk/PCSC/src/readerfactory.c

Modified: trunk/PCSC/src/readerfactory.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/readerfactory.c?rev=4726&op=diff
==============================================================================
--- trunk/PCSC/src/readerfactory.c (original)
+++ trunk/PCSC/src/readerfactory.c Tue Feb  9 10:49:30 2010
@@ -49,7 +49,7 @@
 #endif
 
 static PREADER_CONTEXT sReadersContexts[PCSCLITE_MAX_READERS_CONTEXTS];
-static unsigned int maxReaderHandles = PCSC_MAX_READER_HANDLES;
+static int maxReaderHandles = PCSC_MAX_READER_HANDLES;
 static DWORD dwNumReadersContexts = 0;
 static char *ConfigFile = NULL;
 static int ConfigFileCRC = 0;




More information about the Pcsclite-cvs-commit mailing list