[Pcsclite-cvs-commit] r4750 - /trunk/Drivers/ccid/src/ccid_usb.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Tue Feb 9 21:31:38 UTC 2010


Author: rousseau
Date: Tue Feb  9 21:31:37 2010
New Revision: 4750

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

ccid_usb.c: In function ‘InterruptRead’:
ccid_usb.c:987: warning: pointer targets in passing argument 3 of ‘log_xxd’ differ in signedness
/usr/include/PCSC/debuglog.h:83: note: expected ‘const unsigned char *’ but argument is of type ‘char *’

Modified:
    trunk/Drivers/ccid/src/ccid_usb.c

Modified: trunk/Drivers/ccid/src/ccid_usb.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ccid_usb.c?rev=4750&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ccid_usb.c (original)
+++ trunk/Drivers/ccid/src/ccid_usb.c Tue Feb  9 21:31:37 2010
@@ -984,7 +984,7 @@
 					usbDevice[reader_index].filename, usb_strerror());
 	}
 	else
-		DEBUG_XXD("NotifySlotChange: ", buffer, ret);
+		DEBUG_XXD("NotifySlotChange: ", (const unsigned char *)buffer, ret);
 
 	return ret;
 } /* InterruptRead */




More information about the Pcsclite-cvs-commit mailing list