[Pcsclite-cvs-commit] r5867 - in /trunk/PCSC/src: winscard_msg.c winscard_msg.h

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sat Jul 9 11:50:17 UTC 2011


Author: rousseau
Date: Sat Jul  9 11:50:16 2011
New Revision: 5867

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5867
Log:
MessageReceiveTimeout(): change timeOut parameter type to fix a compiler
warning

winscard_msg.c: In function `MessageReceiveTimeout':
winscard_msg.c:186:13: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]

Modified:
    trunk/PCSC/src/winscard_msg.c
    trunk/PCSC/src/winscard_msg.h

Modified: trunk/PCSC/src/winscard_msg.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard_msg.c?rev=5867&op=diff
==============================================================================
--- trunk/PCSC/src/winscard_msg.c (original)
+++ trunk/PCSC/src/winscard_msg.c Sat Jul  9 11:50:16 2011
@@ -157,7 +157,7 @@
  * @retval SCARD_F_COMM_ERROR A signal was received.
  */
 INTERNAL LONG MessageReceiveTimeout(uint32_t command, void *buffer_void,
-	uint64_t buffer_size, int32_t filedes, unsigned long timeOut)
+	uint64_t buffer_size, int32_t filedes, long timeOut)
 {
 	char *buffer = buffer_void;
 

Modified: trunk/PCSC/src/winscard_msg.h
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard_msg.h?rev=5867&op=diff
==============================================================================
--- trunk/PCSC/src/winscard_msg.h (original)
+++ trunk/PCSC/src/winscard_msg.h Sat Jul  9 11:50:16 2011
@@ -258,7 +258,7 @@
 	int32_t ClientSetupSession(uint32_t *);
 	int32_t ClientCloseSession(uint32_t);
 	LONG MessageReceiveTimeout(uint32_t command, /*@out@*/ void *buffer,
-		uint64_t buffer_size, int32_t filedes, unsigned long timeOut);
+		uint64_t buffer_size, int32_t filedes, long timeOut);
 	LONG MessageSendWithHeader(uint32_t command, uint32_t dwClientID,
 		uint64_t size, void *data);
 #endif




More information about the Pcsclite-cvs-commit mailing list