mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
inline some compare
This commit is contained in:
parent
a098fb9485
commit
9a68c52438
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
#include "crapto1/crapto1.h"
|
||||
|
||||
// MIFARE
|
||||
int compare_uint64(const void *a, const void *b) {
|
||||
int inline compare_uint64(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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue