]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Fix CmdEM410xBrute string format warning 351/head
authorFl0-0 <tonymontana277@hotmail.fr>
Wed, 5 Jul 2017 19:16:15 +0000 (21:16 +0200)
committerFl0-0 <tonymontana277@hotmail.fr>
Wed, 5 Jul 2017 19:16:15 +0000 (21:16 +0200)
client/cmdlfem4x.c

index f8e00e9b5d829fafa25e1359bc14d00f99a5b0a1..013c2f3fb427be478c318ff365b44d9e4f45692f 100644 (file)
@@ -405,7 +405,7 @@ int CmdEM410xBrute(const char *Cmd)
                        return 0;
                }
                                
                        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);
                PrintAndLog("Bruteforce %d / %d: simulating UID  %s, clock %d", c + 1, uidcnt, testuid, clock);
                
                ConstructEM410xEmulGraph(testuid, clock);
Impressum, Datenschutz