[Pcsclite-cvs-commit] r5802 - /trunk/PCSC/doc/example/pcsc_demo.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Wed Jun 22 06:53:47 UTC 2011
Author: rousseau
Date: Wed Jun 22 06:53:46 2011
New Revision: 5802
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5802
Log:
SCARD_PCI_T0 and SCARD_PCI_T1 and now const values
Fix compiler warnings:
pcsc_demo.c: In function `main':
pcsc_demo.c:161:24: warning: assignment discards `const' qualifier from
pointer target type [enabled by default]
pcsc_demo.c:164:24: warning: assignment discards `const' qualifier from
pointer target type [enabled by default]
Modified:
trunk/PCSC/doc/example/pcsc_demo.c
Modified: trunk/PCSC/doc/example/pcsc_demo.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/doc/example/pcsc_demo.c?rev=5802&op=diff
==============================================================================
--- trunk/PCSC/doc/example/pcsc_demo.c (original)
+++ trunk/PCSC/doc/example/pcsc_demo.c Wed Jun 22 06:53:46 2011
@@ -3,7 +3,7 @@
*
* MUSCLE SmartCard Development ( http://www.linuxnet.com )
*
- * Copyright (C) 2003-2009
+ * Copyright (C) 2003-2011
* Ludovic Rousseau <ludovic.rousseau at free.fr>
*
* This program is free software; you can redistribute it and/or modify
@@ -63,7 +63,7 @@
char pbReader[MAX_READERNAME] = "";
int reader_nb;
unsigned int i;
- SCARD_IO_REQUEST *pioSendPci;
+ const SCARD_IO_REQUEST *pioSendPci;
SCARD_IO_REQUEST pioRecvPci;
BYTE pbRecvBuffer[10];
BYTE pbSendBuffer[] = { 0x00, 0xA4, 0x00, 0x00, 0x02, 0x3F, 0x00 };
More information about the Pcsclite-cvs-commit
mailing list