[Pcsclite-cvs-commit] r5868 - /trunk/PCSC/src/hotplug_macosx.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sat Jul 9 11:59:09 UTC 2011


Author: rousseau
Date: Sat Jul  9 11:59:09 2011
New Revision: 5868

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

hotplug_macosx.c: In function 'HPDriversGetFromDirectory':
hotplug_macosx.c:245: warning: format '%d' expects type 'int', but
argument 7 has type 'CFIndex'
hotplug_macosx.c:253: warning: format '%d' expects type 'int', but
argument 7 has type 'CFIndex'

Modified:
    trunk/PCSC/src/hotplug_macosx.c

Modified: trunk/PCSC/src/hotplug_macosx.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/hotplug_macosx.c?rev=5868&op=diff
==============================================================================
--- trunk/PCSC/src/hotplug_macosx.c (original)
+++ trunk/PCSC/src/hotplug_macosx.c Sat Jul  9 11:59:09 2011
@@ -243,7 +243,7 @@
 			if (reader_nb != CFArrayGetCount(productArray))
 			{
 				Log3(PCSC_LOG_ERROR,
-					"Malformed Info.plist: %d vendors and %d products",
+					"Malformed Info.plist: %d vendors and %ld products",
 					reader_nb, CFArrayGetCount(productArray));
 				return bundleVector;
 			}
@@ -251,7 +251,7 @@
 			if (reader_nb != CFArrayGetCount(friendlyNameArray))
 			{
 				Log3(PCSC_LOG_ERROR,
-					"Malformed Info.plist: %d vendors and %d friendlynames",
+					"Malformed Info.plist: %d vendors and %ld friendlynames",
 					reader_nb, CFArrayGetCount(friendlyNameArray));
 				return bundleVector;
 			}




More information about the Pcsclite-cvs-commit mailing list