[Pcsclite-cvs-commit] r5861 - /trunk/PCSC/src/prothandler.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sat Jul 9 11:30:37 UTC 2011


Author: rousseau
Date: Sat Jul  9 11:30:36 2011
New Revision: 5861

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5861
Log:
Fix compiler warning

prothandler.c: In function `PHSetProtocol':
prothandler.c:102:5: warning: format `%d' expects argument of type
`int', but argument 6 has type `LONG' [-Wformat]

Modified:
    trunk/PCSC/src/prothandler.c

Modified: trunk/PCSC/src/prothandler.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/prothandler.c?rev=5861&op=diff
==============================================================================
--- trunk/PCSC/src/prothandler.c (original)
+++ trunk/PCSC/src/prothandler.c Sat Jul  9 11:30:36 2011
@@ -99,7 +99,7 @@
 					(SCARD_PROTOCOL_T0 == protocol) ? 0 : 1);
 			else
 			{
-				Log3(PCSC_LOG_INFO, "PTS failed (%d), using T=%d", rv,
+				Log3(PCSC_LOG_INFO, "PTS failed (%ld), using T=%d", rv,
 					(SCARD_PROTOCOL_T0 == protocol) ? 0 : 1);
 
 				/* ISO 7816-3:1997 ch. 7.2 PPS protocol page 14




More information about the Pcsclite-cvs-commit mailing list