[Pcsclite-cvs-commit] r6693 - trunk/HandlerTest/Host
ludovic.rousseau at free.fr
ludovic.rousseau at free.fr
Tue Jul 30 08:56:24 UTC 2013
Author: rousseau
Date: 2013-07-30 08:56:23 +0000 (Tue, 30 Jul 2013)
New Revision: 6693
Modified:
trunk/HandlerTest/Host/handler_test.c
Log:
Fix compiler warning
handler_test.c: In function ?\226?\128?\152exchange?\226?\128?\153:
handler_test.c:1001:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Change the prototype of exchange() to use an "unsigned int" for the
expected length.
Modified: trunk/HandlerTest/Host/handler_test.c
===================================================================
--- trunk/HandlerTest/Host/handler_test.c 2013-07-30 08:53:54 UTC (rev 6692)
+++ trunk/HandlerTest/Host/handler_test.c 2013-07-30 08:56:23 UTC (rev 6693)
@@ -50,7 +50,7 @@
PSCARD_IO_HEADER RecvPci,
UCHAR s[], DWORD s_length,
UCHAR r[], PDWORD r_length,
- UCHAR e[], int e_length);
+ UCHAR e[], unsigned int e_length);
int extended_apdu(int lun);
int short_apdu(int lun);
@@ -975,11 +975,11 @@
PSCARD_IO_HEADER RecvPci,
UCHAR s[], DWORD s_length,
UCHAR r[], PDWORD r_length,
- UCHAR e[], int e_length)
+ UCHAR e[], unsigned int e_length)
{
int rv;
#ifndef CONTACTLESS
- int i;
+ unsigned int i;
#else
(void)e;
#endif
More information about the Pcsclite-cvs-commit
mailing list