Fixes comparaisons between signed and unsigned values
This commit is contained in:
parent
b1bc800c83
commit
0406f0002e
2 changed files with 3 additions and 2 deletions
|
@ -676,7 +676,8 @@ int mf_enhanced_auth(int e_sector, int a_sector, mftag t, mfreader r, denonce *d
|
|||
|
||||
uint32_t Nt, NtLast, NtProbe, NtEnc, Ks1;
|
||||
|
||||
int i, m;
|
||||
int i;
|
||||
uint32_t m;
|
||||
|
||||
// Prepare AUTH command
|
||||
Auth[0] = (t.sectors[e_sector].foundKeyA) ? MC_AUTH_A : MC_AUTH_B;
|
||||
|
|
|
@ -56,7 +56,7 @@ typedef struct {
|
|||
|
||||
typedef struct {
|
||||
uint64_t *brokenKeys;
|
||||
int32_t size;
|
||||
uint32_t size;
|
||||
} bKeys;
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Reference in a new issue