]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Merge pull request #351 from Fl0-0/CmdEM410xBrute_mingw_fix
authorIceman <iceman@iuse.se>
Thu, 6 Jul 2017 07:25:03 +0000 (09:25 +0200)
committerGitHub <noreply@github.com>
Thu, 6 Jul 2017 07:25:03 +0000 (09:25 +0200)
Fix CmdEM410xBrute string format warning

client/cmdlfem4x.c

index f8e00e9b5d829fafa25e1359bc14d00f99a5b0a1..013c2f3fb427be478c318ff365b44d9e4f45692f 100644 (file)
@@ -405,7 +405,7 @@ int CmdEM410xBrute(const char *Cmd)
                        return 0;
                }
                                
-               sprintf(testuid, "%010lX", bytes_to_num(uidBlock + 5*c, 5));
+               sprintf(testuid, "%010" PRIX64, bytes_to_num(uidBlock + 5*c, 5));
                PrintAndLog("Bruteforce %d / %d: simulating UID  %s, clock %d", c + 1, uidcnt, testuid, clock);
                
                ConstructEM410xEmulGraph(testuid, clock);
Impressum, Datenschutz