[Pcsclite-cvs-commit] r5874 - /trunk/PCSC/src/hotplug_linux.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Tue Jul 19 18:48:28 UTC 2011


Author: rousseau
Date: Tue Jul 19 18:48:27 2011
New Revision: 5874

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

hotplug_linux.c: In function 'HPReadBundleValues':
hotplug_linux.c:188: warning: format '%d' expects type 'int', but
argument 6 has type 'long unsigned int'

Modified:
    trunk/PCSC/src/hotplug_linux.c

Modified: trunk/PCSC/src/hotplug_linux.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/hotplug_linux.c?rev=5874&op=diff
==============================================================================
--- trunk/PCSC/src/hotplug_linux.c (original)
+++ trunk/PCSC/src/hotplug_linux.c Tue Jul 19 18:48:27 2011
@@ -185,7 +185,7 @@
 
 				if (listCount >= sizeof(bundleTracker)/sizeof(bundleTracker[0]))
 				{
-					Log2(PCSC_LOG_CRITICAL, "Too many readers declared. Maximum is %d", sizeof(bundleTracker)/sizeof(bundleTracker[0]));
+					Log2(PCSC_LOG_CRITICAL, "Too many readers declared. Maximum is %ld", sizeof(bundleTracker)/sizeof(bundleTracker[0]));
 					goto end;
 				}
 			}




More information about the Pcsclite-cvs-commit mailing list