Fix compiler warning
mifare-desfire-access.c:102: warning: initialization discards qualifiers from pointer target type
This commit is contained in:
parent
4a15097d15
commit
f60bb7e613
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ main(int argc, char *argv[])
|
||||||
if (res < 0)
|
if (res < 0)
|
||||||
errx (EXIT_FAILURE, "File creation failed");
|
errx (EXIT_FAILURE, "File creation failed");
|
||||||
|
|
||||||
char *s= "Hello World";
|
const char *s= "Hello World";
|
||||||
res = mifare_desfire_write_data (tags[i], 1, 0, strlen (s), s);
|
res = mifare_desfire_write_data (tags[i], 1, 0, strlen (s), s);
|
||||||
if (res < 0)
|
if (res < 0)
|
||||||
errx (EXIT_FAILURE, "File write failed");
|
errx (EXIT_FAILURE, "File write failed");
|
||||||
|
|
Loading…
Reference in a new issue