mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-10 02:04:39 +08:00
use macros instead
This commit is contained in:
parent
1cdb0346d0
commit
ce74a25d06
1 changed files with 4 additions and 2 deletions
|
@ -25,10 +25,12 @@
|
|||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/err.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
uint32_t seed = 0;
|
||||
|
||||
|
@ -149,7 +151,7 @@ int main (int argc, char* argv[]) {
|
|||
if (dec_tag[15] != dec_rdr[30]) continue;
|
||||
|
||||
|
||||
printf("\btimestamp: %lu\nkey: ", timestamp);
|
||||
printf("\btimestamp: %" PRIu64 "\nkey: ", timestamp);
|
||||
for (int i = 0; i < 16; i++) {
|
||||
printf("%02x", key[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue