diff --git a/tools/hitag2crack/crack4/ht2crack4.c b/tools/hitag2crack/crack4/ht2crack4.c index 3c2680692..70585ed58 100644 --- a/tools/hitag2crack/crack4/ht2crack4.c +++ b/tools/hitag2crack/crack4/ht2crack4.c @@ -49,6 +49,7 @@ #include #include #include +#include #include "ht2crackutils.h" /* you could have more than 32 traces, but you shouldn't really need @@ -774,7 +775,7 @@ int main(int argc, char *argv[]) { uint64_t revkey; uint64_t foundkey; int tot_nRaR = 0; - char c; + int c; char *uidstr = NULL; char *noncefilestr = NULL;