From 03a4837bfa94719bfce8a3f723e3c7d358bc8f0d Mon Sep 17 00:00:00 2001 From: Fl0-0 Date: Wed, 5 Jul 2017 21:16:15 +0200 Subject: [PATCH] Fix CmdEM410xBrute string format warning --- client/cmdlfem4x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5