]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmf.c
Fix gcc10 compiler warnings
[proxmark3-svn] / client / cmdhfmf.c
index d31b8264ce497cf28fedbad9ddb76c14acb8481b..91f73ca28abc85d582e05b0d1dbc848fb71bc4ac 100644 (file)
@@ -3076,8 +3076,8 @@ int CmdHFMFPersonalize(const char *cmd) {
 \r
        UsbCommand resp;\r
        if (WaitForResponseTimeout(CMD_ACK, &resp, 1500)) {\r
-               uint8_t isOK  = resp.arg[0] & 0xff;\r
-               PrintAndLog("Personalization %s", isOK ? "FAILED" : "SUCCEEDED");\r
+               bool isOK  = resp.arg[0];\r
+               PrintAndLog("Personalization %s", isOK ? "SUCCEEDED" : "FAILED");\r
        } else {\r
                PrintAndLog("Command execute timeout");\r
        }\r
Impressum, Datenschutz