mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
fix for ultra recovery
This commit is contained in:
parent
2b320929fc
commit
c0dc9de43f
1 changed files with 4 additions and 3 deletions
|
@ -36,9 +36,10 @@ typedef struct {
|
|||
uint32_t endPos;
|
||||
} RecPar;
|
||||
|
||||
|
||||
static int compar_int(const void *a, const void *b) {
|
||||
return (*(uint64_t *)b - * (uint64_t *)a);
|
||||
inline static int compar_int(const void *a, const void *b) {
|
||||
if (*(uint64_t *)b == *(uint64_t *)a) return 0;
|
||||
if (*(uint64_t *)b < * (uint64_t *)a) return 1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Compare countKeys structure
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue