inline some compare
This commit is contained in:
1 parent
a098fb9485
commit
9a68c52438
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user