]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfem4x.c
Merge pull request #227 from pwpiwi/client_fixes
[proxmark3-svn] / client / cmdlfem4x.c
index 38bb5c5d19ee7e6b6f0a10c8c20792146e8efb26..f9103126ea99863931b8b943e8ea0dbafef4acfd 100644 (file)
@@ -183,7 +183,7 @@ int CmdEM410xWrite(const char *Cmd)
        int card = 0xFF; // invalid card value
        unsigned int clock = 0; // invalid clock value
 
-       sscanf(Cmd, "%" PRIx64 " %d %d", &id, &card, &clock);
+       sscanf(Cmd, "%" SCNx64 " %d %d", &id, &card, &clock);
 
        // Check ID
        if (id == 0xFFFFFFFFFFFFFFFF) {
Impressum, Datenschutz