[Pcsclite-cvs-commit] r2257 - trunk/Drivers/ccid/src
Ludovic Rousseau
rousseau at alioth.debian.org
Sat Dec 2 18:12:22 CET 2006
Author: rousseau
Date: 2006-12-02 18:12:22 +0100 (Sat, 02 Dec 2006)
New Revision: 2257
Modified:
trunk/Drivers/ccid/src/commands.c
Log:
warning: initialization discards qualifiers from pointer target type
Modified: trunk/Drivers/ccid/src/commands.c
===================================================================
--- trunk/Drivers/ccid/src/commands.c 2006-12-02 17:09:03 UTC (rev 2256)
+++ trunk/Drivers/ccid/src/commands.c 2006-12-02 17:12:22 UTC (rev 2257)
@@ -130,7 +130,7 @@
/* continue with 3 volts and 5 volts */
if (voltage > 1)
{
- char *voltage_code[] = { "auto", "5V", "3V", "1.8V" };
+ const char *voltage_code[] = { "auto", "5V", "3V", "1.8V" };
DEBUG_INFO3("Power up with %s failed. Try with %s.",
voltage_code[voltage], voltage_code[voltage-1]);
More information about the Pcsclite-cvs-commit
mailing list