[Pcsclite-cvs-commit] r6260 - /trunk/Drivers/ccid/src/ccid.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Thu Apr 5 09:55:13 UTC 2012
Author: rousseau
Date: Thu Apr 5 09:55:10 2012
New Revision: 6260
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6260
Log:
Use DWORD_D instead %ld to fix a warning on Mac OS X 64-bits
ccid.c: In function 'set_gemalto_firmware_features':
ccid.c:204: warning: format '%ld' expects type 'long int', but argument
6 has type 'RESPONSECODE'
Modified:
trunk/Drivers/ccid/src/ccid.c
Modified: trunk/Drivers/ccid/src/ccid.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ccid.c?rev=6260&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ccid.c (original)
+++ trunk/Drivers/ccid/src/ccid.c Thu Apr 5 09:55:10 2012
@@ -201,7 +201,7 @@
{
/* Command is not supported, let's free allocated memory */
free(gf_features);
- DEBUG_INFO3("GET_FIRMWARE_FEATURES failed: %ld, len=%d",
+ DEBUG_INFO3("GET_FIRMWARE_FEATURES failed: " DWORD_D ", len=%d",
ret, len_features);
}
}
More information about the Pcsclite-cvs-commit
mailing list