From 5a5e061e68e92e783489774064bdb6f56916900a Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Fri, 18 May 2012 16:28:41 +0000 Subject: [PATCH] Fix compiler warning mifare_desfire_error.c:35: warning: initialization discards qualifiers from pointer target type mifare_desfire_error.c:36: warning: initialization discards qualifiers from pointer target type etc... --- libfreefare/mifare_desfire_error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreefare/mifare_desfire_error.c b/libfreefare/mifare_desfire_error.c index 9f4888e..87a661b 100644 --- a/libfreefare/mifare_desfire_error.c +++ b/libfreefare/mifare_desfire_error.c @@ -30,7 +30,7 @@ static struct error_message { uint8_t code; - char *message; + const char *message; } error_messages[] = { EM(OPERATION_OK), EM(NO_CHANGES),