[Pcsclite-cvs-commit] r6719 - trunk/PCSC/src

ludovic.rousseau at free.fr ludovic.rousseau at free.fr
Wed Aug 7 16:50:19 UTC 2013


Author: rousseau
Date: 2013-08-07 16:50:19 +0000 (Wed, 07 Aug 2013)
New Revision: 6719

Modified:
   trunk/PCSC/src/configfile.l
Log:
Fix compiler warning

configfile.l: In function ?\226?\128?\152evaluatetoken?\226?\128?\153:
configfile.l:186: warning: initialization discards qualifiers from pointer target type


Modified: trunk/PCSC/src/configfile.l
===================================================================
--- trunk/PCSC/src/configfile.l	2013-08-05 20:00:47 UTC (rev 6718)
+++ trunk/PCSC/src/configfile.l	2013-08-07 16:50:19 UTC (rev 6719)
@@ -182,7 +182,7 @@
 		pcLibpath != NULL && pcChannelid != NULL && badError != 1)
 	{
 		int channelId;
-		static char* defaultDeviceName = "";
+		static char* defaultDeviceName = (char *)"";
 
 		if (0 == reader_list_size)
 		{




More information about the Pcsclite-cvs-commit mailing list