From: Fl0-0 Date: Wed, 5 Jul 2017 19:16:15 +0000 (+0200) Subject: Fix CmdEM410xBrute string format warning X-Git-Tag: v3.1.0~191^2 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/03a4837bfa94719bfce8a3f723e3c7d358bc8f0d?ds=inline Fix CmdEM410xBrute string format warning --- diff --git a/client/cmdlfem4x.c b/client/cmdlfem4x.c index f8e00e9b..013c2f3f 100644 --- a/client/cmdlfem4x.c +++ b/client/cmdlfem4x.c @@ -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);