[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
- Previous message: [Pcsclite-cvs-commit] Drivers/ccid/src commands.c,1.11,1.12 ccid_ifdhandler.h,1.8,1.9 commands.h,1.5,1.6 ifdhandler.c,1.29,1.30
- Next message: [Pcsclite-cvs-commit] Drivers/ccid/src ifdhandler.c,1.30,1.31 debug.c,1.2,1.3 commands.h,1.6,1.7 commands.c,1.12,1.13 ccid_usb.h,1.7,1.8 ccid_usb.c,1.23,1.24 ccid_serial.h,1.3,1.4 ccid_serial.c,1.10,1.11 ccid.c,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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
- Previous message: [Pcsclite-cvs-commit] Drivers/ccid/src commands.c,1.11,1.12 ccid_ifdhandler.h,1.8,1.9 commands.h,1.5,1.6 ifdhandler.c,1.29,1.30
- Next message: [Pcsclite-cvs-commit] Drivers/ccid/src ifdhandler.c,1.30,1.31 debug.c,1.2,1.3 commands.h,1.6,1.7 commands.c,1.12,1.13 ccid_usb.h,1.7,1.8 ccid_usb.c,1.23,1.24 ccid_serial.h,1.3,1.4 ccid_serial.c,1.10,1.11 ccid.c,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]