[Pcsclite-cvs-commit] r5860 - /trunk/PCSC/src/ifdwrapper.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sat Jul 9 11:29:53 UTC 2011


Author: rousseau
Date: Sat Jul  9 11:29:52 2011
New Revision: 5860

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

ifdwrapper.c: In function `IFDControl':
ifdwrapper.c:455:3: warning: format `%LX' expects argument of type `long
long unsigned int', but argument 6 has type `DWORD' [-Wformat]

Modified:
    trunk/PCSC/src/ifdwrapper.c

Modified: trunk/PCSC/src/ifdwrapper.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/ifdwrapper.c?rev=5860&op=diff
==============================================================================
--- trunk/PCSC/src/ifdwrapper.c (original)
+++ trunk/PCSC/src/ifdwrapper.c Sat Jul  9 11:29:52 2011
@@ -452,7 +452,7 @@
 	else
 	{
 		Log2(PCSC_LOG_ERROR, "Card not transacted: %ld", rv);
-		Log3(PCSC_LOG_DEBUG, "ControlCode: 0x%.8LX BytesReturned: %ld",
+		Log3(PCSC_LOG_DEBUG, "ControlCode: 0x%.8lX BytesReturned: %ld",
 			ControlCode, *BytesReturned);
 		LogXxd(PCSC_LOG_DEBUG, "TxBuffer ", TxBuffer, TxLength);
 		LogXxd(PCSC_LOG_DEBUG, "RxBuffer ", RxBuffer, *BytesReturned);




More information about the Pcsclite-cvs-commit mailing list