[Pcsclite-cvs-commit] r4724 - /trunk/PCSC/src/winscard_clnt.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Tue Feb 9 10:39:37 UTC 2010


Author: rousseau
Date: Tue Feb  9 10:39:36 2010
New Revision: 4724

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

winscard_clnt.c: In function ‘SCardListReaderGroups’:
winscard_clnt.c:3258: warning: comparison between signed and unsigned

Modified:
    trunk/PCSC/src/winscard_clnt.c

Modified: trunk/PCSC/src/winscard_clnt.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard_clnt.c?rev=4724&op=diff
==============================================================================
--- trunk/PCSC/src/winscard_clnt.c (original)
+++ trunk/PCSC/src/winscard_clnt.c Tue Feb  9 10:39:36 2010
@@ -3215,7 +3215,7 @@
 
 	/* Multi-string with two trailing \0 */
 	const char ReaderGroup[] = "SCard$DefaultReaders\0";
-	const int dwGroups = sizeof(ReaderGroup);
+	const unsigned int dwGroups = sizeof(ReaderGroup);
 
 	CHECK_SAME_PROCESS
 




More information about the Pcsclite-cvs-commit mailing list