[Pcsclite-cvs-commit] r5507 - /trunk/PCSC/src/hotplug_macosx.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Fri Jan 14 08:31:32 UTC 2011
Author: rousseau
Date: Fri Jan 14 08:31:32 2011
New Revision: 5507
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5507
Log:
Fix compiler warning
hotplug_macosx.c: In function ‘HPDriversGetFromDirectory’:
hotplug_macosx.c:150: warning: comparison between signed and unsigned
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=5507&op=diff
==============================================================================
--- trunk/PCSC/src/hotplug_macosx.c (original)
+++ trunk/PCSC/src/hotplug_macosx.c Fri Jan 14 08:31:32 2011
@@ -112,7 +112,6 @@
*/
static HPDriverVector HPDriversGetFromDirectory(const char *driverBundlePath)
{
- int i;
#ifdef DEBUG_HOTPLUG
Log2(PCSC_LOG_DEBUG, "Entering HPDriversGetFromDirectory: %s",
driverBundlePath);
@@ -145,6 +144,7 @@
CFRelease(pluginUrl);
size_t bundleArraySize = CFArrayGetCount(bundleArray);
+ size_t i;
/* get the number of readers (including aliases) */
for (i = 0; i < bundleArraySize; i++)
More information about the Pcsclite-cvs-commit
mailing list