[Pcsclite-cvs-commit] r454 - /trunk/muscleTool/muscleTool.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Fri Nov 13 09:55:51 UTC 2009
Author: rousseau
Date: Fri Nov 13 09:55:51 2009
New Revision: 454
URL: http://svn.debian.org/wsvn/muscleapps/?sc=1&rev=454
Log:
warning: passing argument 1 of ‘getStringValue’ discards qualifiers from pointer target type
warning: passing argument 2 of ‘getStringValue’ discards qualifiers from pointer target type
Modified:
trunk/muscleTool/muscleTool.c
Modified: trunk/muscleTool/muscleTool.c
URL: http://svn.debian.org/wsvn/muscleapps/trunk/muscleTool/muscleTool.c?rev=454&op=diff
==============================================================================
--- trunk/muscleTool/muscleTool.c (original)
+++ trunk/muscleTool/muscleTool.c Fri Nov 13 09:55:51 2009
@@ -48,7 +48,7 @@
static int quitStat = 0;
static int getChoice(char *, char *, char **, int);
-static int getStringValue(char *header, char *footer, char *stringValue, int stringValueLength);
+static int getStringValue(const char *header, const char *footer, char *stringValue, int stringValueLength);
static int getNumberValue(char *header, char *footer, unsigned long *numberValue);
static void doPrintAUT(MSCUShort16);
#ifdef VERSION2
@@ -2497,7 +2497,7 @@
* \param stringValueLength The length of the stringValue buffer.
* \return 1 for success. 0 means that the user has canceled.
*/
-static int getStringValue(char *header, char *footer, char *stringValue, int stringValueLength) {
+static int getStringValue(const char *header, const char *footer, char *stringValue, int stringValueLength) {
char stringString[4096];
stringValue[0] = '\0';
printf("\n");
More information about the Pcsclite-cvs-commit
mailing list