diff --git a/tools/mfd_aes_brute/brute_key.c b/tools/mfd_aes_brute/brute_key.c index 00db53074..340ff797b 100644 --- a/tools/mfd_aes_brute/brute_key.c +++ b/tools/mfd_aes_brute/brute_key.c @@ -25,10 +25,12 @@ #include #include #include +#include #include +#include #include #include -#include + 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]); }