[Pcsclite-cvs-commit] r2300 - trunk/PCSC/src
Ludovic Rousseau
rousseau at alioth.debian.org
Sat Jan 6 18:48:33 CET 2007
Author: rousseau
Date: 2007-01-06 18:48:33 +0100 (Sat, 06 Jan 2007)
New Revision: 2300
Modified:
trunk/PCSC/src/debug.c
trunk/PCSC/src/hotplug_libusb.c
Log:
use unsigned int to solve the warning:
debug.c:60: warning: comparison between signed and unsigned
Modified: trunk/PCSC/src/debug.c
===================================================================
--- trunk/PCSC/src/debug.c 2007-01-06 17:46:20 UTC (rev 2299)
+++ trunk/PCSC/src/debug.c 2007-01-06 17:48:33 UTC (rev 2300)
@@ -54,7 +54,7 @@
term = getenv("TERM");
if (term)
{
- int i;
+ unsigned int i;
/* for each known color terminal */
for (i = 0; i < sizeof(terms) / sizeof(terms[0]); i++)
Modified: trunk/PCSC/src/hotplug_libusb.c
===================================================================
--- trunk/PCSC/src/hotplug_libusb.c 2007-01-06 17:46:20 UTC (rev 2299)
+++ trunk/PCSC/src/hotplug_libusb.c 2007-01-06 17:48:33 UTC (rev 2300)
@@ -367,6 +367,7 @@
/* scan the USB bus for devices at startup */
HPRescanUsbBus();
+#define USB_POLLING
#ifdef USB_POLLING
while (1)
{
More information about the Pcsclite-cvs-commit
mailing list