good const, bad const, fixing -Wincompatible-pointer-types-discards-qualifiers

This commit is contained in:
Philippe Teuwen 2019-04-10 10:21:42 +02:00
commit 7f76fea21a
45 changed files with 124 additions and 124 deletions

View file

@ -253,7 +253,7 @@ char *GetVersionStr(uint8_t major, uint8_t minor) {
void GetKeySettings(uint8_t *aid) {
char messStr[512] = {0x00};
char *str = messStr;
const char *str = messStr;
uint8_t isOK = 0;
uint32_t options;
UsbCommand c = {CMD_MIFARE_DESFIRE};