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

Ludovic Rousseau rousseau at alioth.debian.org
Sat Jan 6 21:30:34 CET 2007


Author: rousseau
Date: 2007-01-06 21:30:33 +0100 (Sat, 06 Jan 2007)
New Revision: 2309

Modified:
   trunk/PCSC/src/tokenparser.l
Log:
correct a warning: assignment discards qualifiers from pointer target type


Modified: trunk/PCSC/src/tokenparser.l
===================================================================
--- trunk/PCSC/src/tokenparser.l	2007-01-06 20:26:57 UTC (rev 2308)
+++ trunk/PCSC/src/tokenparser.l	2007-01-06 20:30:33 UTC (rev 2309)
@@ -30,7 +30,7 @@
 
 void tpevalToken(char *pcToken, int tokType);
 
-static char *pcDesiredKey = 0;
+static const char *pcDesiredKey = NULL;
 static char pcKey[TOKEN_MAX_KEY_SIZE];
 static char pcValue[TOKEN_MAX_VALUE_SIZE];
 static char pcFinValue[TOKEN_MAX_VALUE_SIZE];




More information about the Pcsclite-cvs-commit mailing list