[Pcsclite-cvs-commit] r2258 - trunk/Drivers/ccid/src

Ludovic Rousseau rousseau at alioth.debian.org
Sat Dec 2 18:13:06 CET 2006


Author: rousseau
Date: 2006-12-02 18:13:06 +0100 (Sat, 02 Dec 2006)
New Revision: 2258

Modified:
   trunk/Drivers/ccid/src/ifdhandler.c
Log:
warning: initialization discards qualifiers from pointer target type


Modified: trunk/Drivers/ccid/src/ifdhandler.c
===================================================================
--- trunk/Drivers/ccid/src/ifdhandler.c	2006-12-02 17:12:22 UTC (rev 2257)
+++ trunk/Drivers/ccid/src/ifdhandler.c	2006-12-02 17:13:06 UTC (rev 2258)
@@ -836,7 +836,7 @@
 	RESPONSECODE return_value = IFD_SUCCESS;
 	unsigned char pcbuffer[RESP_BUF_SIZE];
 	int reader_index;
-	char *actions[] = { "PowerUp", "PowerDown", "Reset" };
+	const char *actions[] = { "PowerUp", "PowerDown", "Reset" };
 
 	DEBUG_INFO3("lun: %X, action: %s", Lun, actions[Action-IFD_POWER_UP]);
 




More information about the Pcsclite-cvs-commit mailing list