[Pcsclite-cvs-commit] Drivers/ccid/src/protocol_t1 protocol_t1.c,1.10,1.11 atr.h,1.1,1.2

rousseau@haydn.debian.org rousseau@haydn.debian.org


Update of /cvsroot/pcsclite/Drivers/ccid/src/protocol_t1
In directory haydn:/tmp/cvs-serv7581/src/protocol_t1

Modified Files:
	protocol_t1.c atr.h 
Log Message:
recompile using gcc -pedantic and correct:
- some C++ syntax comments
- many signedness "problems"


Index: protocol_t1.c
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/protocol_t1/protocol_t1.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- protocol_t1.c	17 May 2004 14:35:51 -0000	1.10
+++ protocol_t1.c	24 May 2004 12:58:43 -0000	1.11
@@ -331,7 +331,7 @@
 {
   unsigned char cmd[T1_BLOCK_MAX_SIZE]; /* CCID + T1 block */
   int ret;
-  int len = sizeof(cmd);
+  unsigned int len = sizeof(cmd);
 
   /* Receive T=1 block */
   if ((CCID_Receive(t1->lun, &len, cmd) != IFD_SUCCESS) || (len < 4))

Index: atr.h
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/protocol_t1/atr.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- atr.h	15 Jan 2004 14:34:21 -0000	1.1
+++ atr.h	24 May 2004 12:58:43 -0000	1.2
@@ -24,7 +24,6 @@
 #define _ATR_
 
 #include "defines.h"
-//#include "io_serial.h"
 
 /*
  * Exported constants definition