]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmf.c
REM: Removed lot of obselete code from before.
[proxmark3-svn] / client / cmdhfmf.c
index 83f263025510bdedb5637f8d7f73e5015970fc1a..267f323cce9e551ca29374c2c2ffd70ac465a47b 100644 (file)
@@ -1226,10 +1226,10 @@ int CmdHF14AMf1kSim(const char *Cmd)
                                                corr_uid |= (uint64_t)data[2] << 48; \r
                                                corr_uid |= (uint64_t)data[1] << 40; \r
                                                corr_uid |= (uint64_t)data[0] << 32;\r
-                                               corr_uid |= data[7] << 24;\r
-                                               corr_uid |= data[6] << 16;\r
-                                               corr_uid |= data[5] << 8;\r
-                                               corr_uid |= data[4];\r
+                                               corr_uid |= (uint64_t)data[7] << 24;\r
+                                               corr_uid |= (uint64_t)data[6] << 16;\r
+                                               corr_uid |= (uint64_t)data[5] << 8;\r
+                                               corr_uid |= (uint64_t)data[4];\r
                                tryMfk64(corr_uid, data, key);\r
                                        }\r
                                        PrintAndLog("--");\r
Impressum, Datenschutz