]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfem4x.c
FIX: Coverity scan, remove a resource leak, wrong varible type.
[proxmark3-svn] / client / cmdlfem4x.c
index f3c754ff5c3a7128889a24fe360a8625c1ba7373..4eaabef36fc7753e616b00a5811c9f573f164ada 100644 (file)
@@ -21,8 +21,6 @@
 #include "cmdlfem4x.h"
 #include "lfdemod.h"
 
-#define llx PRIx64
-
 char *global_em410xId;
 
 static int CmdHelp(const char *Cmd);
@@ -58,7 +56,8 @@ int CmdEM410xRead(const char *Cmd)
                return 0;
        }
        char id[12] = {0x00};
-       sprintf(id, "%010llx",lo);
+       //sprintf(id, "%010llx",lo);
+        sprintf(id, "%010"PRIu64, lo); 
        
        global_em410xId = id;
        return 1;
Impressum, Datenschutz