inline some compare

This commit is contained in:
iceman1001 2019-12-23 10:41:54 +01:00
parent a098fb9485
commit 9a68c52438

View file

@ -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;